How do you see individual cores on CPMs and APMs when using "top"?

book

Article ID: 167899

calendar_today

Updated On:

Products

XOS

Issue/Introduction

How do I check and see how my CPU cores are being utilized when using top?You are troubleshooting and you want to see how your CPU cores are being utilized.

Resolution

When running "top" from the linux prompt, press the #1 key you can see how individual cores are being utilized.


top - 22:32:48 up 4 days,  9:02,  1 user,  load average: 0.00, 0.00, 0.00
Tasks:  79 total,   1 running,  78 sleeping,   0 stopped,   0 zombie
Cpu0  :  0.0%us,  0.3%sy,  0.0%ni, 91.3%id,  0.0%wa,  0.7%hi,  7.7%si,  0.0%st
Cpu1  :  0.0%us,  0.0%sy,  0.0%ni, 92.4%id,  0.0%wa,  0.7%hi,  7.0%si,  0.0%st
Cpu2  :  0.0%us,  0.0%sy,  0.0%ni, 91.7%id,  0.0%wa,  0.7%hi,  7.6%si,  0.0%st
Cpu3  :  0.0%us,  0.0%sy,  0.0%ni, 91.3%id,  0.0%wa,  1.3%hi,  7.4%si,  0.0%st
Mem:   4151572k total,   247228k used,  3904344k free,       64k buffers
Swap:        0k total,        0k used,        0k free,    48964k cached

Workaround

n/a