Linux Ask!

Linux Ask! is a Q & A web site specific for Linux related questions. Questions are collected, answered and audited by experienced Linux users.

May 052010
 

Display multiprocessor usage with mpstat

Answer:

To displays all the activities for the available processor(s) in your system, you can use mpstat

E.g.

# mpstat -P ALL
Linux 2.6.31-14-server (localhost)     04/30/10        _x86_64_        (1 CPU)

00:00:44     CPU    %usr   %nice    %sys %iowait    %irq   %soft  %steal  %guest   %idle
00:00:44     all    4.01    0.00    0.07    0.03    0.00    0.05    0.03    0.00   95.81
00:00:44       0    4.01    0.00    0.07    0.03    0.00    0.05    0.03    0.00   95.81

 Leave a Reply

(required)

(required)

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>