리눅스 코어별 CPU 사용률 확인

리눅스 코어별 CPU 사용률 확인

1 방법[편집]

  • top 실행
  • 숫자키 '1' 누름
실행예시 (8코어)[1]
top - 10:35:14 up 96 days, 16:21,  2 users,  load average: 0.10, 0.63, 0.46
Tasks: 146 total,   1 running, 144 sleeping,   0 stopped,   1 zombie
Cpu0  :  6.2%us,  6.1%sy,  0.0%ni, 84.5%id,  3.1%wa,  0.0%hi,  0.0%si,  0.0%st
Cpu1  :  2.3%us,  4.6%sy,  0.0%ni, 88.8%id,  4.3%wa,  0.0%hi,  0.0%si,  0.0%st
Cpu2  :  1.2%us,  1.8%sy,  0.0%ni, 96.4%id,  0.6%wa,  0.0%hi,  0.0%si,  0.0%st
Cpu3  :  1.2%us,  1.5%sy,  0.0%ni, 96.9%id,  0.4%wa,  0.0%hi,  0.0%si,  0.0%st
Cpu4  :  1.1%us,  1.2%sy,  0.0%ni, 97.3%id,  0.4%wa,  0.0%hi,  0.0%si,  0.0%st
Cpu5  :  1.0%us,  1.0%sy,  0.0%ni, 97.6%id,  0.4%wa,  0.0%hi,  0.0%si,  0.0%st
Cpu6  :  1.0%us,  1.0%sy,  0.0%ni, 97.7%id,  0.4%wa,  0.0%hi,  0.0%si,  0.0%st
Cpu7  :  0.9%us,  0.9%sy,  0.0%ni, 97.8%id,  0.3%wa,  0.0%hi,  0.0%si,  0.0%st
Mem:  12583088k total, 12510396k used,    72692k free,    58872k buffers
Swap:  8385888k total,     2956k used,  8382932k free, 12068284k cached

  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND                                                                                                
    1 root      15   0  2168  596  512 S  0.0  0.0   0:00.10 init                                                                                                    
    2 root      RT  -5     0    0    0 S  0.0  0.0   1:26.44 migration/0                                                                                             
    3 root      34  19     0    0    0 S  0.0  0.0   1:07.69 ksoftirqd/0                                                                                             
... (생략)

2 같이 보기[편집]

3 주석[편집]

  1. 8가상코어=4물리코어*2스레드
문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}