Linux

memory 사용량 상위 10개 체크

졸린하루 2017. 6. 7. 10:31

[root@test dev]# ps -eo user,pid,ppid,rss,size,vsize,pmem,pcpu,time,cmd --sort -rss |head -n 11
USER       PID  PPID   RSS  SIZE    VSZ %MEM %CPU     TIME CMD
root       761     1 23240 89780 323568  2.2  0.0 00:00:00 /usr/bin/python -Es /usr/sbin/firewalld --nofork --nopid
root      1360     1 18348 304404 553064  1.8 0.0 00:00:00 /usr/bin/python -Es /usr/sbin/tuned -l -P
polkitd    854     1 12612 450892 523544  1.2 0.0 00:00:00 /usr/lib/polkit-1/polkitd --no-debug
root       825     1  9760 222272 434616  0.9 0.0 00:00:00 /usr/sbin/NetworkManager --no-daemon
root         1     0  7188  4532  44508  0.7  0.0 00:00:01 /usr/lib/systemd/systemd --switched-root --system --deserialize 21
root       570     1  7068 263100 320372  0.6 0.0 00:00:00 /sbin/multipathd
root      2528  1362  5212  1080 140924  0.5  0.0 00:00:00 sshd: root@pts/0
root       585     1  4772 298116 342476  0.4 0.0 00:00:00 /usr/sbin/lvmetad -f
postfix   1688  1680  3912   776  91300  0.3  0.0 00:00:00 qmgr -l -t unix -u
postfix   1687  1680  3896   776  91232  0.3  0.0 00:00:00 pickup -l -t unix -u