LINUX.IE, website of the Irish Linux Users' Group
Tux rules!

   
Home
New Users
Articles
Download
Projects
Community
Vendors

  Print Version
Email to...
 
Archives:


planetILUG

Recent News

News Archive


Join the
ILUG
on FaceBook


Join the
ILUG
on LinkedIn


Join the
ILUG SETI
Group



















 
 :: Mailing Lists

[ILUG] determining how much memory is shared between multiple processes?

[ILUG] determining how much memory is shared between multiple processes?

Paul Jakma paul at clubi.ie
Mon Oct 4 01:16:57 IST 2004


On Sun, 3 Oct 2004, Justin Mason wrote:

> : jm 1313...; top -b -n1 | grep sharetest
> 23784 jm        16   0 1032 37148  31m 2620    0  0.0  3.6   0:04 sharetest
> 23788 jm        22   0 1032 37148  31m 2620    0  0.0  3.6   0:02 sharetest
>
> : jm 1258...; sudo cat /proc/23784/status

> VmStk+VmExe+VmLib = 2540, which is pretty close to 2620.

Hmm, well it seems to use /proc/.../stat and statm, which dont appear 
to contain quite same values. ah well.

> hmm. wonder if there's an instrumentation module that'd do it...

gdb?

I doubt there's anything that can do it without serious overhead.. 
(be it runtime or else memory).

> --j.

regards,
-- 
Paul Jakma	paul at clubi.ie	paul at jakma.org	Key ID: 64A2FF6A
Fortune:
Spence's Admonition:
 	Never stow away on a kamikaze plane.



More information about the ILUG mailing list
Read this without the formatting.
                                                                                                    

 

Hosted by HEAnet


Maintained by the ILUG website team. The aim of Linux.ie is to support and help commercial and private users of Linux in Ireland. You can display ILUG news in your own webpages, read backend information to find out how. Networking services kindly provided by HEAnet, server kindly donated by Dell. Linux is a trademark of Linus Torvalds, used with permission. No penguins were harmed in the production or maintenance of this highly praised website. Looking for the Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!
RSS Version
Powered by Dell