From mboxrd@z Thu Jan 1 00:00:00 1970 From: "matrix reloaded" Subject: How to get Data Segment Size ? Date: 29 Jul 2004 12:20:36 -0000 Sender: kernelnewbies-bounce@nl.linux.org Message-ID: <20040729122036.24201.qmail@webmail28.rediffmail.com> Reply-To: "matrix reloaded" Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="Next_1091103636---0-203.199.83.38-24193" Return-path: Errors-to: kernelnewbies-bounce@nl.linux.org List-help: List-unsubscribe: List-software: Ecartis version 1.0.0 List-subscribe: List-owner: List-post: List-archive: To: kernelnewbies@nl.linux.org Cc: linux-mm@kvack.org, linux-kernel@vger.kernel.org List-Id: linux-mm.kvack.org This is a multipart mime message --Next_1091103636---0-203.199.83.38-24193 Content-type: text/html; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline

=0ACan anyone help me in getting the Data Segment Size of a running proc= ess. I mean
=0Ais there any interface for useland ? 
=0AI trie= d with getrusage, but it's manpage says that it's not been implemented for =
=0A"ru_idrss" field of rusage structure.
=0A
=0AI don= 't want to read /proc fs for this information as from there I can get this =
=0Ainformation, but don't want to depend on that.
=0A
=0APlease= help me.
=0A
=0AThanks.
=0ASumit Sharma. =0A

=0A

=0A= =0A --Next_1091103636---0-203.199.83.38-24193 Content-type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Can anyone help me in getting the Data Segment Size of a running process. I= mean =0Ais there any interface for useland ? =0AI tried with getrusage, b= ut it's manpage says that it's not been implemented for =0A"ru_idrss" field= of rusage structure. =0A =0AI don't want to read /proc fs for this informa= tion as from there I can get this =0Ainformation, but don't want to depend = on that. =0A =0APlease help me. =0A =0AThanks. =0ASumit Sharma.=20 --Next_1091103636---0-203.199.83.38-24193-- -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/