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.iepaul at jakma.org Key ID: 64A2FF6A
Fortune:
Spence's Admonition:
Never stow away on a kamikaze plane.
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!