Check individual CPU load using mpstat

To check if a single CPU is saturated, run “mpstat -P ALL 1”

# mpstat -P ALL 1
Linux 2.6.32-642.3.1.el6.x86_64 (server.example.com)         10/04/2016      _x86_64_        (8 CPU)

05:49:30 AM  CPU    %usr   %nice    %sys %iowait    %irq   %soft  %steal  %guest   %idle
05:49:31 AM  all    0.75    0.00    0.25    0.00    0.00    0.00    0.00    0.00   99.00
05:49:31 AM    0    1.00    0.00    0.00    0.00    0.00    0.00    0.00    0.00   99.00
05:49:31 AM    1    0.99    0.00    0.99    0.00    0.00    0.00    0.00    0.00   98.02
05:49:31 AM    2    2.00    0.00    0.00    0.00    0.00    0.00    0.00    0.00   98.00
05:49:31 AM    3    0.00    0.00    0.00    0.00    0.00    0.00    0.00    0.00  100.00
05:49:31 AM    4    0.00    0.00    0.00    0.00    0.00    0.00    0.00    0.00  100.00
05:49:31 AM    5    1.01    0.00    0.00    0.00    0.00    0.00    0.00    0.00   98.99
05:49:31 AM    6    0.00    0.00    0.00    0.00    0.00    0.00    0.00    0.00  100.00
05:49:31 AM    7    0.99    0.00    0.00    0.00    0.00    0.00    0.00    0.00   99.01
Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s