On Fri, Mar 20, 2009 at 4:09 PM, Kenneth Gonsalves <[email protected]> wrote: > On Friday 20 March 2009 16:01:11 Shrinivasan T wrote: >> Top is showing only for TOP processes. > > man ps
ps does not give you the whole story. A process may be sharing libraries with several other processes, have memory mapped files, etc. pmap gives you the exact break up. [r...@treble ~]# pmap $$ 4841: -bash 0000000000400000 712K r-x-- /bin/bash 00000000006b2000 40K rw--- /bin/bash 00000000006bc000 20K rw--- [ anon ] 00000000008bb000 32K rw--- /bin/bash 0000000011801000 264K rw--- [ anon ] 0000003d02e00000 104K r-x-- /lib64/ld-2.5.so 0000003d0301a000 4K r---- /lib64/ld-2.5.so 0000003d0301b000 4K rw--- /lib64/ld-2.5.so 0000003d03200000 1320K r-x-- /lib64/libc-2.5.so 0000003d0334a000 2048K ----- /lib64/libc-2.5.so 0000003d0354a000 16K r---- /lib64/libc-2.5.so 0000003d0354e000 4K rw--- /lib64/libc-2.5.so 0000003d0354f000 20K rw--- [ anon ] 0000003d03600000 8K r-x-- /lib64/libdl-2.5.so 0000003d03602000 2048K ----- /lib64/libdl-2.5.so 0000003d03802000 4K r---- /lib64/libdl-2.5.so 0000003d03803000 4K rw--- /lib64/libdl-2.5.so 0000003d05e00000 12K r-x-- /lib64/libtermcap.so.2.0.8 0000003d05e03000 2044K ----- /lib64/libtermcap.so.2.0.8 0000003d06002000 4K rw--- /lib64/libtermcap.so.2.0.8 00002ab124edf000 4K rw--- [ anon ] 00002ab124ee7000 12K rw--- [ anon ] 00002ab124eea000 40K r-x-- /lib64/libnss_files-2.5.so 00002ab124ef4000 2044K ----- /lib64/libnss_files-2.5.so 00002ab1250f3000 4K r---- /lib64/libnss_files-2.5.so 00002ab1250f4000 4K rw--- /lib64/libnss_files-2.5.so 00002ab1250f5000 55108K r---- /usr/lib/locale/locale-archive 00002ab1286c6000 28K r--s- /usr/lib64/gconv/gconv-modules.cache 00002ab1286cd000 8K rw--- [ anon ] 00007fff85bb6000 84K rw--- [ stack ] ffffffffff600000 8192K ----- [ anon ] total 74240K - Raja _______________________________________________ To unsubscribe, email [email protected] with "unsubscribe <password> <address>" in the subject or body of the message. http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
