Section 6.10. Displaying Page-Size Information with pmap


6.10. Displaying Page-Size Information with pmap

You use the -s option to display the hardware translation page sizes for each portion of the address space. (See Chapter 13 in Solaris Internals for further information on Solaris support for multiple page sizes.) In the example below, you can see that the majority of the mappings use an 8-Kbyte page size and that the heap uses a 4-Mbyte page size. Notice that noncontiguous regions of resident pages of the same page size are reported as separate mappings. In the example below, the libc.so library is reported as separate mappings, since only some of the libc.so text is resident.

example$ pmap -xs 15492 15492:  ./maps  Address  Kbytes     RSS    Anon  Locked Pgsz Mode   Mapped File 00010000       8       8       -       -   8K r-x--  maps 00020000       8       8       8       -   8K rwx--  maps 00022000    3960    3960    3960       -   8K rwx--    [ heap ] 00400000    8192    8192    8192       -   4M rwx--    [ heap ] 00C00000    4096       -       -       -    - rwx--    [ heap ] 01000000    4096    4096    4096       -   4M rwx--    [ heap ] 03000000    1024    1024       -       -   8K rw-s-  dev:0,2 ino:4628487 04000000     512     512     512       -   8K rw---  dev:0,2 ino:4628487 04080000     512     512       -       -    - rw---  dev:0,2 ino:4628487 05000000     512     512     512       -   8K rw--R  dev:0,2 ino:4628487 05080000     512     512       -       -    - rw--R  dev:0,2 ino:4628487 06000000    1024    1024    1024       -   8K rw---    [ anon ] 07000000     512     512     512       -   8K rw--R    [ anon ] 08000000    8192    8192       -    8192    - rwxs-    [ dism shmid=0x5 ] 09000000    4096    4096       -       -   8K rwxs-    [ dism shmid=0x4 ] 0A000000    4096       -       -       -    - rwxs-    [ dism shmid=0x2 ] 0B000000    8192    8192       -    8192   4M rwxsR    [ ism shmid=0x3 ] FF280000     136     136       -       -   8K r-x--  libc.so.1 FF2A2000     120     120       -       -    - r-x--  libc.so.1 FF2C0000     128     128       -       -   8K r-x--  libc.so.1 FF2E0000     200     200       -       -    - r-x--  libc.so.1 FF312000      48      48       -       -   8K r-x--  libc.so.1 FF31E000      48      40       -       -    - r-x--  libc.so.1 FF33A000      32      32      32       -   8K rwx--  libc.so.1 FF390000       8       8       -       -   8K r-x--  libc_psr.so.1 FF3A0000       8       8       -       -   8K r-x--  libdl.so.1 FF3B0000       8       8       8       -   8K rwx--    [ anon ] FF3C0000     152     152       -       -   8K r-x--  ld.so.1 FF3F6000       8       8       8       -   8K rwx--  ld.so.1 FFBFA000      24      24      24       -   8K rwx--    [ stack ] -------- ------- ------- ------- ------- total Kb   50464   42264   18888   16384 





Solaris Performance and Tools(c) Dtrace and Mdb Techniques for Solaris 10 and Opensolaris
Solaris Performance and Tools: DTrace and MDB Techniques for Solaris 10 and OpenSolaris
ISBN: 0131568191
EAN: 2147483647
Year: 2007
Pages: 180

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net