Linux/Centos檢視程式佔用記憶體大小的幾種方法總結
1.命令列輸入top回車,然後按下大寫M按照memory排序,按下大寫P按照CPU排序。
2. ps -ef | grep "程式名"
ps -e -o 'pid,comm,args,pcpu,rsz,vsz,stime,user,uid' | grep 程式名
例如:
# ps -ef | grep mongodb | grep -v grep
root 18512 1 8 Feb28 ? 11:25:23 mongod -f mongodb.conf
# ps -e -o 'pid,comm,args,pcpu,rsz,vsz,stime,user,uid' | grep 18512 | grep -v grep
18512 mongod mongod -f mongodb.conf 8.0 6243952 7924496 Feb28 root 0
備註:
pid:程式的ID
vsz:程式佔用的虛擬記憶體
rsz:程式佔用的實體記憶體
3. top -d 1 -p pid
例如:
# top -d 1 -p 18512
top - 13:18:41 up 9 days, 19:53, 3 users, load average: 0.00, 0.00, 0.00
Tasks: 1 total, 0 running, 1 sleeping, 0 stopped, 0 zombie
Cpu(s): 0.3%us, 0.3%sy, 0.0%ni, 99.2%id, 0.0%wa, 0.0%hi, 0.3%si, 0.0%st
Mem: 8191244k total, 7929432k used, 261812k free, 122160k buffers
Swap: 20479996k total, 16232k used, 20463764k free, 1316248k cached
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
18512 root 20 0 7738m 6.0g 5472 S 1.0 76.3 685:26.98 mongod
4. pmap -x pid
例如:
# pmap -x 18512
18512: mongod -f mongodb.conf
Address Kbytes RSS Dirty Mode Mapping
0000192c8d4c8000 655360 0 0 ----- [ anon ]
00007f9228ae4000 4 0 0 ----- [ anon ]
00007f9228ae5000 10240 20 20 rw--- [ anon ]
00007f9229ee6000 4 0 0 ----- [ anon ]
00007f9229ee7000 10240 16 16 rw--- [ anon ]
00007f922a8e7000 4 0 0 ----- [ anon ]
00007f922a8e8000 1024 20 20 rw--- [ anon ]
00007f922aae9000 4 0 0 ----- [ anon ]
00007f922aaea000 10240 16 16 rw--- [ anon ]
00007f922b4ea000 4 0 0 ----- [ anon ]
00007f922b4eb000 10240 16 16 rw--- [ anon ]
00007f922beeb000 4 0 0 ----- [ anon ]
00007f922beec000 1024 24 24 rw--- [ anon ]
00007f922bfec000 4 0 0 ----- [ anon ]
00007f922bfed000 1024 20 20 rw--- [ anon ]
00007f922c0ed000 4 0 0 ----- [ anon ]
00007f922c0ee000 10240 20 20 rw--- [ anon ]
00007f922caee000 4 0 0 ----- [ anon ]
00007f922caef000 10240 12 12 rw--- [ anon ]
00007f922d4ef000 4 0 0 ----- [ anon ]
00007f922d4f0000 10240 52 52 rw--- [ anon ]
00007f922def0000 4 0 0 ----- [ anon ]
00007f922def1000 10240 52 52 rw--- [ anon ]
00007f922e8f1000 4 0 0 ----- [ anon ]
00007f922e8f2000 10240 52 52 rw--- [ anon ]
00007f922f2f2000 4 0 0 ----- [ anon ]
00007f922f2f3000 10240 52 52 rw--- [ anon ]
00007f922fcf3000 4 0 0 ----- [ anon ]
00007f922fcf4000 10240 52 52 rw--- [ anon ]
00007f92306f4000 4 0 0 ----- [ anon ]
00007f92306f5000 10240 52 52 rw--- [ anon ]
00007f92310f5000 4 0 0 ----- [ anon ]
00007f92310f6000 10240 52 52 rw--- [ anon ]
00007f9231af6000 4 0 0 ----- [ anon ]
00007f9231af7000 10240 52 52 rw--- [ anon ]
00007f92324f7000 4 0 0 ----- [ anon ]
00007f92324f8000 10240 52 52 rw--- [ anon ]
00007f9232ef8000 4 0 0 ----- [ anon ]
00007f9232ef9000 10240 52 52 rw--- [ anon ]
00007f92338f9000 4 0 0 ----- [ anon ]
00007f92338fa000 10240 52 52 rw--- [ anon ]
00007f92342fa000 4 0 0 ----- [ anon ]
00007f92342fb000 10240 52 52 rw--- [ anon ]
00007f9234cfb000 4 0 0 ----- [ anon ]
00007f9234cfc000 10240 52 52 rw--- [ anon ]
00007f92356fc000 4 0 0 ----- [ anon ]
00007f92356fd000 10240 52 52 rw--- [ anon ]
00007f92360fd000 4 0 0 ----- [ anon ]
00007f92360fe000 10240 52 52 rw--- [ anon ]
00007f9236afe000 4 0 0 ----- [ anon ]
00007f9236aff000 10240 52 52 rw--- [ anon ]
00007f92374ff000 4 0 0 ----- [ anon ]
00007f9237500000 10240 16 16 rw--- [ anon ]
00007f9237f00000 4 0 0 ----- [ anon ]
00007f9237f01000 10240 12 12 rw--- [ anon ]
00007f9238901000 4 0 0 ----- [ anon ]
00007f9238902000 10240 48 48 rw--- [ anon ]
00007f9239302000 4 0 0 ----- [ anon ]
00007f9239303000 10240 28 28 rw--- [ anon ]
00007f9239d03000 4 0 0 ----- [ anon ]
00007f9239d04000 10240 8 8 rw--- [ anon ]
00007f923a704000 4 0 0 ----- [ anon ]
00007f923a705000 10240 8 8 rw--- [ anon ]
00007f923b105000 4 0 0 ----- [ anon ]
00007f923b106000 10240 8 8 rw--- [ anon ]
00007f923bb06000 4 0 0 ----- [ anon ]
00007f923bb07000 10240 8 8 rw--- [ anon ]
00007f923c507000 4 0 0 ----- [ anon ]
00007f923c508000 10240 8 8 rw--- [ anon ]
00007f923cf08000 4 0 0 ----- [ anon ]
00007f923cf09000 10240 8 8 rw--- [ anon ]
00007f923d909000 4 0 0 ----- [ anon ]
00007f923d90a000 10240 8 8 rw--- [ anon ]
00007f923e30a000 4 0 0 ----- [ anon ]
00007f923e30b000 10240 8 8 rw--- [ anon ]
00007f923ed0b000 4 0 0 ----- [ anon ]
00007f923ed0c000 10240 8 8 rw--- [ anon ]
00007f923f70c000 4 0 0 ----- [ anon ]
00007f923f70d000 10240 8 8 rw--- [ anon ]
00007f924010d000 4 0 0 ----- [ anon ]
00007f924010e000 10240 8 8 rw--- [ anon ]
00007f9240b0e000 4 0 0 ----- [ anon ]
00007f9240b0f000 10240 8 8 rw--- [ anon ]
00007f924150f000 4 0 0 ----- [ anon ]
00007f9241510000 10240 8 8 rw--- [ anon ]
00007f9241f10000 4 0 0 ----- [ anon ]
00007f9241f11000 10240 8 8 rw--- [ anon ]
00007f9242911000 4 0 0 ----- [ anon ]
00007f9242912000 10240 8 8 rw--- [ anon ]
00007f9243312000 4 0 0 ----- [ anon ]
00007f9243313000 10240 8 8 rw--- [ anon ]
00007f9243d13000 4 0 0 ----- [ anon ]
00007f9243d14000 10240 8 8 rw--- [ anon ]
00007f9244714000 4 0 0 ----- [ anon ]
00007f9244715000 10240 20 20 rw--- [ anon ]
00007f9245115000 4 0 0 ----- [ anon ]
00007f9245116000 10240 16 16 rw--- [ anon ]
00007f9245b16000 4 0 0 ----- [ anon ]
00007f9245b17000 10240 16 16 rw--- [ anon ]
00007f9246517000 4 0 0 ----- [ anon ]
00007f9246518000 10240 8 8 rw--- [ anon ]
00007f9246f18000 4 0 0 ----- [ anon ]
00007f9246f19000 10240 12 12 rw--- [ anon ]
00007f9247919000 4 0 0 ----- [ anon ]
00007f924791a000 10240 8 8 rw--- [ anon ]
00007f924831a000 4 0 0 ----- [ anon ]
00007f924831b000 10240 8 8 rw--- [ anon ]
00007f9248d1b000 4 0 0 ----- [ anon ]
00007f9248d1c000 10240 28 28 rw--- [ anon ]
00007f924971c000 4 0 0 ----- [ anon ]
00007f924971d000 10240 8 8 rw--- [ anon ]
00007f924a11d000 4 0 0 ----- [ anon ]
00007f924a11e000 10240 16 16 rw--- [ anon ]
00007f924ab1e000 4 0 0 ----- [ anon ]
00007f924ab1f000 10240 16 16 rw--- [ anon ]
00007f924b51f000 4 0 0 ----- [ anon ]
00007f924b520000 10240 8 8 rw--- [ anon ]
00007f924bf20000 4 0 0 ----- [ anon ]
00007f924bf21000 10240 44 44 rw--- [ anon ]
00007f924c921000 4 0 0 ----- [ anon ]
00007f924c922000 10240 8 8 rw--- [ anon ]
00007f924d322000 4 0 0 ----- [ anon ]
00007f924d323000 10240 8 8 rw--- [ anon ]
00007f924dd23000 4 0 0 ----- [ anon ]
00007f924dd24000 10240 20 20 rw--- [ anon ]
00007f924e724000 4 0 0 ----- [ anon ]
00007f924e725000 10240 20 20 rw--- [ anon ]
00007f924f125000 4 0 0 ----- [ anon ]
00007f924f126000 10240 44 44 rw--- [ anon ]
00007f924fb26000 4 0 0 ----- [ anon ]
00007f924fb27000 10240 8 8 rw--- [ anon ]
00007f9250527000 4 0 0 ----- [ anon ]
00007f9250528000 10240 44 44 rw--- [ anon ]
00007f9250f28000 4 0 0 ----- [ anon ]
00007f9250f29000 10240 44 44 rw--- [ anon ]
00007f9251929000 4 0 0 ----- [ anon ]
00007f925192a000 10240 44 44 rw--- [ anon ]
00007f925232a000 4 0 0 ----- [ anon ]
00007f925232b000 10240 44 44 rw--- [ anon ]
00007f9252d2b000 4 0 0 ----- [ anon ]
00007f9252d2c000 10240 12 12 rw--- [ anon ]
00007f925372c000 4 0 0 ----- [ anon ]
00007f925372d000 10240 12 12 rw--- [ anon ]
00007f925412d000 4 0 0 ----- [ anon ]
00007f925412e000 10240 8 8 rw--- [ anon ]
00007f9254b2e000 4 0 0 ----- [ anon ]
00007f9254b2f000 10240 8 8 rw--- [ anon ]
00007f925552f000 4 0 0 ----- [ anon ]
00007f9255530000 10240 8 8 rw--- [ anon ]
00007f9255f30000 1576 480 0 r-x-- libc-2.12.so
00007f92560ba000 2048 0 0 ----- libc-2.12.so
00007f92562ba000 16 16 16 r---- libc-2.12.so
00007f92562be000 8 8 8 rw--- libc-2.12.so
00007f92562c0000 16 12 12 rw--- [ anon ]
00007f92562c4000 92 72 0 r-x-- libpthread-2.12.so
00007f92562db000 2048 0 0 ----- libpthread-2.12.so
00007f92564db000 4 4 4 r---- libpthread-2.12.so
00007f92564dc000 4 4 4 rw--- libpthread-2.12.so
00007f92564dd000 16 4 4 rw--- [ anon ]
00007f92564e1000 88 44 0 r-x-- libgcc_s-4.4.7-20120601.so.1
00007f92564f7000 2044 0 0 ----- libgcc_s-4.4.7-20120601.so.1
00007f92566f6000 4 4 4 rw--- libgcc_s-4.4.7-20120601.so.1
00007f92566f7000 524 12 0 r-x-- libm-2.12.so
00007f925677a000 2044 0 0 ----- libm-2.12.so
00007f9256979000 4 4 4 r---- libm-2.12.so
00007f925697a000 4 4 4 rw--- libm-2.12.so
00007f925697b000 8 4 0 r-x-- libdl-2.12.so
00007f925697d000 2048 0 0 ----- libdl-2.12.so
00007f9256b7d000 4 4 4 r---- libdl-2.12.so
00007f9256b7e000 4 4 4 rw--- libdl-2.12.so
00007f9256b7f000 28 8 0 r-x-- librt-2.12.so
00007f9256b86000 2044 0 0 ----- librt-2.12.so
00007f9256d85000 4 4 4 r---- librt-2.12.so
00007f9256d86000 4 4 4 rw--- librt-2.12.so
00007f9256d87000 128 40 0 r-x-- ld-2.12.so
00007f9256e9b000 4 0 0 ----- [ anon ]
00007f9256e9c000 1024 24 24 rw--- [ anon ]
00007f9256f9c000 20 20 20 rw--- [ anon ]
00007f9256fa3000 4 0 0 rw--- [ anon ]
00007f9256fa4000 4 4 4 rw--- [ anon ]
00007f9256fa5000 4 0 0 rw--- [ anon ]
00007f9256fa6000 4 4 4 rw--- [ anon ]
00007f9256fa7000 4 4 4 r---- ld-2.12.so
00007f9256fa8000 4 4 4 rw--- ld-2.12.so
00007f9256fa9000 4 4 4 rw--- [ anon ]
00007f9256faa000 43872 4808 0 r-x-- mongod
00007f9259a83000 780 780 780 r---- mongod
00007f9259b46000 980 40 40 rw--- mongod
00007f9259c3b000 444 296 296 rw--- [ anon ]
00007f925af9e000 12288 12084 12084 rw--- [ anon ]
00007f925bb9e000 6464332 6224628 6224624 rw--- [ anon ]
00007ffd5da06000 136 48 48 rw--- [ stack ]
00007ffd5da89000 4 4 0 r-x-- [ anon ]
ffffffffff600000 4 0 0 r-x-- [ anon ]
---------------- ------ ------ ------
total kB 7924496 6245264 6239788
2. ps -ef | grep "程式名"
ps -e -o 'pid,comm,args,pcpu,rsz,vsz,stime,user,uid' | grep 程式名
例如:
# ps -ef | grep mongodb | grep -v grep
root 18512 1 8 Feb28 ? 11:25:23 mongod -f mongodb.conf
# ps -e -o 'pid,comm,args,pcpu,rsz,vsz,stime,user,uid' | grep 18512 | grep -v grep
18512 mongod mongod -f mongodb.conf 8.0 6243952 7924496 Feb28 root 0
備註:
pid:程式的ID
vsz:程式佔用的虛擬記憶體
rsz:程式佔用的實體記憶體
3. top -d 1 -p pid
例如:
# top -d 1 -p 18512
top - 13:18:41 up 9 days, 19:53, 3 users, load average: 0.00, 0.00, 0.00
Tasks: 1 total, 0 running, 1 sleeping, 0 stopped, 0 zombie
Cpu(s): 0.3%us, 0.3%sy, 0.0%ni, 99.2%id, 0.0%wa, 0.0%hi, 0.3%si, 0.0%st
Mem: 8191244k total, 7929432k used, 261812k free, 122160k buffers
Swap: 20479996k total, 16232k used, 20463764k free, 1316248k cached
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
18512 root 20 0 7738m 6.0g 5472 S 1.0 76.3 685:26.98 mongod
4. pmap -x pid
例如:
# pmap -x 18512
18512: mongod -f mongodb.conf
Address Kbytes RSS Dirty Mode Mapping
0000192c8d4c8000 655360 0 0 ----- [ anon ]
00007f9228ae4000 4 0 0 ----- [ anon ]
00007f9228ae5000 10240 20 20 rw--- [ anon ]
00007f9229ee6000 4 0 0 ----- [ anon ]
00007f9229ee7000 10240 16 16 rw--- [ anon ]
00007f922a8e7000 4 0 0 ----- [ anon ]
00007f922a8e8000 1024 20 20 rw--- [ anon ]
00007f922aae9000 4 0 0 ----- [ anon ]
00007f922aaea000 10240 16 16 rw--- [ anon ]
00007f922b4ea000 4 0 0 ----- [ anon ]
00007f922b4eb000 10240 16 16 rw--- [ anon ]
00007f922beeb000 4 0 0 ----- [ anon ]
00007f922beec000 1024 24 24 rw--- [ anon ]
00007f922bfec000 4 0 0 ----- [ anon ]
00007f922bfed000 1024 20 20 rw--- [ anon ]
00007f922c0ed000 4 0 0 ----- [ anon ]
00007f922c0ee000 10240 20 20 rw--- [ anon ]
00007f922caee000 4 0 0 ----- [ anon ]
00007f922caef000 10240 12 12 rw--- [ anon ]
00007f922d4ef000 4 0 0 ----- [ anon ]
00007f922d4f0000 10240 52 52 rw--- [ anon ]
00007f922def0000 4 0 0 ----- [ anon ]
00007f922def1000 10240 52 52 rw--- [ anon ]
00007f922e8f1000 4 0 0 ----- [ anon ]
00007f922e8f2000 10240 52 52 rw--- [ anon ]
00007f922f2f2000 4 0 0 ----- [ anon ]
00007f922f2f3000 10240 52 52 rw--- [ anon ]
00007f922fcf3000 4 0 0 ----- [ anon ]
00007f922fcf4000 10240 52 52 rw--- [ anon ]
00007f92306f4000 4 0 0 ----- [ anon ]
00007f92306f5000 10240 52 52 rw--- [ anon ]
00007f92310f5000 4 0 0 ----- [ anon ]
00007f92310f6000 10240 52 52 rw--- [ anon ]
00007f9231af6000 4 0 0 ----- [ anon ]
00007f9231af7000 10240 52 52 rw--- [ anon ]
00007f92324f7000 4 0 0 ----- [ anon ]
00007f92324f8000 10240 52 52 rw--- [ anon ]
00007f9232ef8000 4 0 0 ----- [ anon ]
00007f9232ef9000 10240 52 52 rw--- [ anon ]
00007f92338f9000 4 0 0 ----- [ anon ]
00007f92338fa000 10240 52 52 rw--- [ anon ]
00007f92342fa000 4 0 0 ----- [ anon ]
00007f92342fb000 10240 52 52 rw--- [ anon ]
00007f9234cfb000 4 0 0 ----- [ anon ]
00007f9234cfc000 10240 52 52 rw--- [ anon ]
00007f92356fc000 4 0 0 ----- [ anon ]
00007f92356fd000 10240 52 52 rw--- [ anon ]
00007f92360fd000 4 0 0 ----- [ anon ]
00007f92360fe000 10240 52 52 rw--- [ anon ]
00007f9236afe000 4 0 0 ----- [ anon ]
00007f9236aff000 10240 52 52 rw--- [ anon ]
00007f92374ff000 4 0 0 ----- [ anon ]
00007f9237500000 10240 16 16 rw--- [ anon ]
00007f9237f00000 4 0 0 ----- [ anon ]
00007f9237f01000 10240 12 12 rw--- [ anon ]
00007f9238901000 4 0 0 ----- [ anon ]
00007f9238902000 10240 48 48 rw--- [ anon ]
00007f9239302000 4 0 0 ----- [ anon ]
00007f9239303000 10240 28 28 rw--- [ anon ]
00007f9239d03000 4 0 0 ----- [ anon ]
00007f9239d04000 10240 8 8 rw--- [ anon ]
00007f923a704000 4 0 0 ----- [ anon ]
00007f923a705000 10240 8 8 rw--- [ anon ]
00007f923b105000 4 0 0 ----- [ anon ]
00007f923b106000 10240 8 8 rw--- [ anon ]
00007f923bb06000 4 0 0 ----- [ anon ]
00007f923bb07000 10240 8 8 rw--- [ anon ]
00007f923c507000 4 0 0 ----- [ anon ]
00007f923c508000 10240 8 8 rw--- [ anon ]
00007f923cf08000 4 0 0 ----- [ anon ]
00007f923cf09000 10240 8 8 rw--- [ anon ]
00007f923d909000 4 0 0 ----- [ anon ]
00007f923d90a000 10240 8 8 rw--- [ anon ]
00007f923e30a000 4 0 0 ----- [ anon ]
00007f923e30b000 10240 8 8 rw--- [ anon ]
00007f923ed0b000 4 0 0 ----- [ anon ]
00007f923ed0c000 10240 8 8 rw--- [ anon ]
00007f923f70c000 4 0 0 ----- [ anon ]
00007f923f70d000 10240 8 8 rw--- [ anon ]
00007f924010d000 4 0 0 ----- [ anon ]
00007f924010e000 10240 8 8 rw--- [ anon ]
00007f9240b0e000 4 0 0 ----- [ anon ]
00007f9240b0f000 10240 8 8 rw--- [ anon ]
00007f924150f000 4 0 0 ----- [ anon ]
00007f9241510000 10240 8 8 rw--- [ anon ]
00007f9241f10000 4 0 0 ----- [ anon ]
00007f9241f11000 10240 8 8 rw--- [ anon ]
00007f9242911000 4 0 0 ----- [ anon ]
00007f9242912000 10240 8 8 rw--- [ anon ]
00007f9243312000 4 0 0 ----- [ anon ]
00007f9243313000 10240 8 8 rw--- [ anon ]
00007f9243d13000 4 0 0 ----- [ anon ]
00007f9243d14000 10240 8 8 rw--- [ anon ]
00007f9244714000 4 0 0 ----- [ anon ]
00007f9244715000 10240 20 20 rw--- [ anon ]
00007f9245115000 4 0 0 ----- [ anon ]
00007f9245116000 10240 16 16 rw--- [ anon ]
00007f9245b16000 4 0 0 ----- [ anon ]
00007f9245b17000 10240 16 16 rw--- [ anon ]
00007f9246517000 4 0 0 ----- [ anon ]
00007f9246518000 10240 8 8 rw--- [ anon ]
00007f9246f18000 4 0 0 ----- [ anon ]
00007f9246f19000 10240 12 12 rw--- [ anon ]
00007f9247919000 4 0 0 ----- [ anon ]
00007f924791a000 10240 8 8 rw--- [ anon ]
00007f924831a000 4 0 0 ----- [ anon ]
00007f924831b000 10240 8 8 rw--- [ anon ]
00007f9248d1b000 4 0 0 ----- [ anon ]
00007f9248d1c000 10240 28 28 rw--- [ anon ]
00007f924971c000 4 0 0 ----- [ anon ]
00007f924971d000 10240 8 8 rw--- [ anon ]
00007f924a11d000 4 0 0 ----- [ anon ]
00007f924a11e000 10240 16 16 rw--- [ anon ]
00007f924ab1e000 4 0 0 ----- [ anon ]
00007f924ab1f000 10240 16 16 rw--- [ anon ]
00007f924b51f000 4 0 0 ----- [ anon ]
00007f924b520000 10240 8 8 rw--- [ anon ]
00007f924bf20000 4 0 0 ----- [ anon ]
00007f924bf21000 10240 44 44 rw--- [ anon ]
00007f924c921000 4 0 0 ----- [ anon ]
00007f924c922000 10240 8 8 rw--- [ anon ]
00007f924d322000 4 0 0 ----- [ anon ]
00007f924d323000 10240 8 8 rw--- [ anon ]
00007f924dd23000 4 0 0 ----- [ anon ]
00007f924dd24000 10240 20 20 rw--- [ anon ]
00007f924e724000 4 0 0 ----- [ anon ]
00007f924e725000 10240 20 20 rw--- [ anon ]
00007f924f125000 4 0 0 ----- [ anon ]
00007f924f126000 10240 44 44 rw--- [ anon ]
00007f924fb26000 4 0 0 ----- [ anon ]
00007f924fb27000 10240 8 8 rw--- [ anon ]
00007f9250527000 4 0 0 ----- [ anon ]
00007f9250528000 10240 44 44 rw--- [ anon ]
00007f9250f28000 4 0 0 ----- [ anon ]
00007f9250f29000 10240 44 44 rw--- [ anon ]
00007f9251929000 4 0 0 ----- [ anon ]
00007f925192a000 10240 44 44 rw--- [ anon ]
00007f925232a000 4 0 0 ----- [ anon ]
00007f925232b000 10240 44 44 rw--- [ anon ]
00007f9252d2b000 4 0 0 ----- [ anon ]
00007f9252d2c000 10240 12 12 rw--- [ anon ]
00007f925372c000 4 0 0 ----- [ anon ]
00007f925372d000 10240 12 12 rw--- [ anon ]
00007f925412d000 4 0 0 ----- [ anon ]
00007f925412e000 10240 8 8 rw--- [ anon ]
00007f9254b2e000 4 0 0 ----- [ anon ]
00007f9254b2f000 10240 8 8 rw--- [ anon ]
00007f925552f000 4 0 0 ----- [ anon ]
00007f9255530000 10240 8 8 rw--- [ anon ]
00007f9255f30000 1576 480 0 r-x-- libc-2.12.so
00007f92560ba000 2048 0 0 ----- libc-2.12.so
00007f92562ba000 16 16 16 r---- libc-2.12.so
00007f92562be000 8 8 8 rw--- libc-2.12.so
00007f92562c0000 16 12 12 rw--- [ anon ]
00007f92562c4000 92 72 0 r-x-- libpthread-2.12.so
00007f92562db000 2048 0 0 ----- libpthread-2.12.so
00007f92564db000 4 4 4 r---- libpthread-2.12.so
00007f92564dc000 4 4 4 rw--- libpthread-2.12.so
00007f92564dd000 16 4 4 rw--- [ anon ]
00007f92564e1000 88 44 0 r-x-- libgcc_s-4.4.7-20120601.so.1
00007f92564f7000 2044 0 0 ----- libgcc_s-4.4.7-20120601.so.1
00007f92566f6000 4 4 4 rw--- libgcc_s-4.4.7-20120601.so.1
00007f92566f7000 524 12 0 r-x-- libm-2.12.so
00007f925677a000 2044 0 0 ----- libm-2.12.so
00007f9256979000 4 4 4 r---- libm-2.12.so
00007f925697a000 4 4 4 rw--- libm-2.12.so
00007f925697b000 8 4 0 r-x-- libdl-2.12.so
00007f925697d000 2048 0 0 ----- libdl-2.12.so
00007f9256b7d000 4 4 4 r---- libdl-2.12.so
00007f9256b7e000 4 4 4 rw--- libdl-2.12.so
00007f9256b7f000 28 8 0 r-x-- librt-2.12.so
00007f9256b86000 2044 0 0 ----- librt-2.12.so
00007f9256d85000 4 4 4 r---- librt-2.12.so
00007f9256d86000 4 4 4 rw--- librt-2.12.so
00007f9256d87000 128 40 0 r-x-- ld-2.12.so
00007f9256e9b000 4 0 0 ----- [ anon ]
00007f9256e9c000 1024 24 24 rw--- [ anon ]
00007f9256f9c000 20 20 20 rw--- [ anon ]
00007f9256fa3000 4 0 0 rw--- [ anon ]
00007f9256fa4000 4 4 4 rw--- [ anon ]
00007f9256fa5000 4 0 0 rw--- [ anon ]
00007f9256fa6000 4 4 4 rw--- [ anon ]
00007f9256fa7000 4 4 4 r---- ld-2.12.so
00007f9256fa8000 4 4 4 rw--- ld-2.12.so
00007f9256fa9000 4 4 4 rw--- [ anon ]
00007f9256faa000 43872 4808 0 r-x-- mongod
00007f9259a83000 780 780 780 r---- mongod
00007f9259b46000 980 40 40 rw--- mongod
00007f9259c3b000 444 296 296 rw--- [ anon ]
00007f925af9e000 12288 12084 12084 rw--- [ anon ]
00007f925bb9e000 6464332 6224628 6224624 rw--- [ anon ]
00007ffd5da06000 136 48 48 rw--- [ stack ]
00007ffd5da89000 4 4 0 r-x-- [ anon ]
ffffffffff600000 4 0 0 r-x-- [ anon ]
---------------- ------ ------ ------
total kB 7924496 6245264 6239788
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/29734436/viewspace-2151894/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- Linux 檢視記憶體使用情況的幾種方法Linux記憶體
- 總結Linux下檢視記憶體使用情況的多種方法Linux記憶體
- Linux(CentOS) 檢視當前佔用CPU或記憶體最多的K個程式LinuxCentOS記憶體
- Linux檢視檔案大小的幾種方法Linux
- 檢視LINUX程式記憶體佔用情況Linux記憶體
- 17 種檢視 Linux 實體記憶體的方法Linux記憶體
- Redis 檢視所有 key 的 value 值所佔記憶體大小Redis記憶體
- CentOS限制實體記憶體大小方法CentOS記憶體
- Linux下找出吃記憶體的方法總結Linux記憶體
- Centos環境自寫指令碼檢視使用php或nginx佔用記憶體CentOS指令碼PHPNginx記憶體
- mysql佔用記憶體高的一種解決方法MySql記憶體
- 如何檢視MySQL資料庫佔多大記憶體,佔用太多記憶體怎麼辦?MySql資料庫記憶體
- Linux下檢視CPU型號,記憶體大小,硬碟空間的命令Linux記憶體硬碟
- win10如何查詢哪些應用記憶體佔用大 win10如何檢視軟體記憶體佔用Win10記憶體
- linux 檢視某個程序和服務記憶體佔用情況命令Linux記憶體
- 如何檢視 Linux 下 CPU、記憶體和交換分割槽的佔用率?Linux記憶體
- 寫個方法近似計算指定陣列或物件佔用記憶體的大小陣列物件記憶體
- 如何檢視Linux的記憶體使用狀況Linux記憶體
- Laravel 控制器 Controller 傳值到 檢視 View 的幾種方法總結LaravelControllerView
- 檢視PHP-FPM的記憶體佔用、程序個數等資訊PHP記憶體
- Linux系統檢視ntp是否同步的方法有幾種?Linux
- Linux檢視埠被哪個程式佔用Linux
- win10記憶體佔用過高程式沒多少怎麼辦 win10記憶體佔用過高的方法Win10記憶體
- linux記憶體管理學習總結Linux記憶體
- Win10記憶體佔用過多怎麼辦 win10清理記憶體佔用的方法Win10記憶體
- SQL Server 檢視錶佔用空間大小SQLServer
- Linux技巧--檢視檔案及資料夾佔用空間大小Linux
- 如何檢視linux系統中空閒記憶體/實體記憶體使用/剩餘記憶體Linux記憶體
- 檢視 Linux 檔案佔用程式寫資料?Linux
- python物件的記憶體佔用Python物件記憶體
- win10系統檢視哪個軟體佔用記憶體最大的圖文教程Win10記憶體
- 電腦記憶體佔用過高怎麼辦 電腦記憶體佔用過高解決方法記憶體
- [翻譯]查詢Windows記憶體洩露的幾種方法Windows記憶體洩露
- 轉載 ]查詢Windows記憶體洩露的幾種方法Windows記憶體洩露
- Linux下基於記憶體分析的Rootkit檢測方法Linux記憶體
- Linux檢視程式PID的方法?Linux
- Centos7:檢視某個埠被哪個程式佔用CentOS
- Laravel Model查詢結果的3種儲存格式記憶體佔用對比Laravel記憶體