Hi,
I used pmap -x to find the shared memory size of a multithreaded application. 
The output of this command is:
.....
Address  Kbytes     RSS    Anon  Locked Mode   Mapped File
08045000      12      12      12       - rwx--    [ stack ]
..... 
.....
.....
FEFFB000       8       8       8       - rwx--  ld.so.1
FEFFD000       4       4       4       - rwx--  ld.so.1
-------- ------- ------- ------- -------
total Kb  342852  311296  306988       -
------------------------------------------------------------------------
Kbytes: 342852
Res:   311296
Anon: 306988

Can I say that the shared memory size is (Res - Anon), i,e. around 4MB?
And, the private memory size is the Anon size, right?  

Please let me know.
-- 
This message posted from opensolaris.org
_______________________________________________
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org

Reply via email to