![]() |
|
Syntactic Confectionery Delight | |
PerlMonks |
comment on |
( #3333=superdoc: print w/replies, xml ) | Need Help?? |
there was this article on memory usage on slashdot few days ago. good read.
to sum up the article, in linux, application uses shared libraries and the shared libraries are being shared among other applications. but it is still only one copy of shared library. ps aux gives you the memory usage on the process itself and the shared library too. so, try run ps aux to grab your perl proc id.then run pmap -d Proc_ID. the mapped: result at the bottom line is the total memory usage including shared libraries. writeable/private is the one without counting the shared libraries.
my sshd pmap output:
In reply to Re: Virtual Memory Usage
by Qiang
|
|