linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: "matrix reloaded" <matrix_reloaded18@rediffmail.com>
To: kernelnewbies@nl.linux.org
Cc: linux-mm@kvack.org, linux-kernel@vger.kernel.org
Subject: How to get Data Segment Size ?
Date: 29 Jul 2004 12:20:36 -0000	[thread overview]
Message-ID: <20040729122036.24201.qmail@webmail28.rediffmail.com> (raw)

[-- Attachment #1: Type: text/html, Size: 718 bytes --]

[-- Attachment #2: Type: text/plain, Size: 428 bytes --]

Can anyone help me in getting the Data Segment Size of a running process. I mean 
is there any interface for useland ?  
I tried with getrusage, but it's manpage says that it's not been implemented for 
"ru_idrss" field of rusage structure. 
 
I don't want to read /proc fs for this information as from there I can get this 
information, but don't want to depend on that. 
 
Please help me. 
 
Thanks. 
Sumit Sharma. 

                 reply	other threads:[~2004-07-29 12:20 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20040729122036.24201.qmail@webmail28.rediffmail.com \
    --to=matrix_reloaded18@rediffmail.com \
    --cc=kernelnewbies@nl.linux.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mm@kvack.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox