[Linux] 특정 프로세스 상태 확인하기

cat /proc/processID/status
메모리 사용량등의 정보를 확인할 수 있다.
[root@03a69d7f-472d-496d-82e6-7d8c839364eb ~]# cat /proc/2138/status
Name:   
State:  S (sleeping)
Tgid:   1118
Pid:    1118
PPid:   959
TracerPid:      0
Uid:    27      27      27      27
Gid:    27      27      27      27
Utrace: 0
FDSize: 256
Groups: 27
VmPeak:  1347552 kB
VmSize:  1302332 kB
VmLck:         0 kB
VmHWM:    169312 kB
VmRSS:     42100 kB
VmData:  1287276 kB
VmStk:        88 kB
VmExe:      6788 kB
VmLib:      7252 kB
VmPTE:       560 kB
VmSwap:   181564 kB
Threads:        45
SigQ:   0/14841
SigPnd: 0000000000000000
ShdPnd: 0000000000000000
SigBlk: 0000000000087007
SigIgn: 0000000000001006
SigCgt: 00000001800066e9
CapInh: 0000000000000000
CapPrm: 0000000000000000
CapEff: 0000000000000000
CapBnd: ffffffffffffffff
Cpus_allowed:   3
Cpus_allowed_list:      0-1
Mems_allowed:   1
Mems_allowed_list:      0
voluntary_ctxt_switches:        1872385
nonvoluntary_ctxt_switches:     134
 
 

Posted by incree

2014/08/10 21:19 2014/08/10 21:19
, , ,
Response
0 Trackbacks , 0 Comments
RSS :
http://www.incree.com/tc/incree/rss/response/349

Trackback URL : 이 글에는 트랙백을 보낼 수 없습니다


Notices

Archives

Authors

  1. incree

Recent Trackbacks

Calendar

«   2017/05   »
  1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30 31      

Site Stats

Total hits:
404296
Today:
118
Yesterday:
351