· nDRT -- Dirty Pages count 页面已经修改但是还没有保存到disk的数目。
更多信息可以使用命令:'man proc'
/proc/<pid>/statm fields: columns are (in pages):
total program size|
resident set size|
shared pages|
text (code) |
data/stack |
library |
dirty pages |
Here an example: 693 406 586 158 0 535 0
/proc/<pid>/status/proc/<pid>/status fields:
· Vm Size: 2772 kB
· Vm Lck: 0 kB - ???
· Vm RSS: 1624 kB
· Vm Data: 404 kB
· Vm Stk: 24 kB
· Vm Exe: 608 kB
· Vm Lib: 1440 kB
/proc/<pid>/mapsmaps显示所有共享库映射到进程地址空间的详细情况。Example:
$ cat /proc/25042/maps08048000-080e0000 r-xp 00000000 03:05 196610 /bin/bash080e0000-080e6000 rw-p 00097000 03:05 196610 /bin/bash080e6000-08148000 rwxp 00000000 00:00 040000000-40016000 r-xp 00000000 03:05 147471 /lib/ld-2.3.3.so40016000-40017000 rw-p 00015000 03:05 147471 /lib/ld-2.3.3.so40017000-40018000 rw-p 00000000 00:00 040018000-40019000 r--p 00000000 03:05 184090 /usr/share/locale/en_US/LC_IDENTIFICATION40019000-4001a000 r--p 00000000 03:05 184089 /usr/share/locale/en_US/LC_MEASUREMENT4001a000-4001b000 r--p 00000000 03:05 184083 /usr/share/locale/en_US/LC_TELEPHONE4001b000-4001c000 r--p 00000000 03:05 184091 /usr/share/locale/en_US/LC_ADDRESS4001c000-4001d000 r--p 00000000 03:05 184086 /usr/share/locale/en_US/LC_NAME4001d000-4001e000 r--p 00000000 03:05 184084 /usr/share/locale/en_US/LC_PAPER4001e000-4001f000 r--p 00000000 03:05 184088 /usr/share/locale/en_US/LC_MESSAGES/SYS_LC_MESSAGES4001f000-40020000 r--p 00000000 03:05 184087 /usr/share/locale/en_US/LC_MONETARY40020000-40026000 r--p 00000000 03:05 183689 /usr/share/locale/ISO-8859-1/LC_COLLATE40026000-40027000 r--p 00000000 03:05 184082 /usr/share/locale/en_US/LC_TIME40027000-4002a000 r-xp 00000000 03:05 147459 /lib/libtermcap.so.2.0.84002a000-4002b000 rw-p 00002000 03:05 147459 /lib/libtermcap.so.2.0.84002b000-4002c000 rw-p 00000000 00:00 04002c000-4002e000 r-xp 00000000 03:05 147482 /lib/libdl-2.3.3.so4002e000-4002f000 rw-p 00001000 03:05 147482 /lib/libdl-2.3.3.so4002f000-40171000 r-xp 00000000 03:05 147511 /lib/tls/libc-2.3.3.so40171000-40174000 rw-p 00142000 03:05 147511 /lib/tls/libc-2.3.3.so40174000-40177000 rw-p 00000000 00:00 040177000-40178000 r--p 00000000 03:05 184085 /usr/share/locale/en_US/LC_NUMERIC40178000-401a4000 r--p 00000000 03:05 183688 /usr/share/locale/ISO-8859-1/LC_CTYPE401a4000-401a5000 r-xp 00000000 03:05 180462 /usr/lib/gconv/ISO8859-1.so401a5000-401a6000 rw-p 00001000 03:05 180462 /usr/lib/gconv/ISO8859-1.so401b3000-401bd000 r-xp 00000000 03:05 147492 /lib/libnss_files-2.3.3.so401bd000-401be000 rw-p 00009000 03:05 147492 /lib/libnss_files-2.3.3.sobfffa000-c0000000 rwxp ffffb000 00:00 0ffffe000-fffff000 ---p 00000000 00:00 0