LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Description of mpstat output (https://www.linuxquestions.org/questions/linux-newbie-8/description-of-mpstat-output-790185/)

Sapfeer 02-19-2010 08:34 AM

Description of mpstat output
 
I'm wondering where I can find description of mpstat output?.. I'm talking about the output of all available counters presented by mpstat. For instance:
Code:

$ mpstat -Au
Linux 2.6.31-19-generic (lenovo-S102)        02/19/10        _i686_        (2 CPU)

17:32:15    CPU    %usr  %nice    %sys %iowait    %irq  %soft  %steal  %guest  %idle
17:32:15    all  36.00    0.18  10.39    0.73    0.08    0.03    0.00    0.00  52.60
17:32:15      0  36.81    0.15  11.58    1.14    0.16    0.04    0.00    0.00  50.11
17:32:15      1  35.26    0.22    9.31    0.34    0.00    0.02    0.00    0.00  54.86

17:32:15    CPU    intr/s
17:32:15    all    599.76
17:32:15      0    214.42
17:32:15      1      0.00

17:32:15    CPU    0/s    1/s    8/s    9/s    12/s    14/s    15/s    16/s    17/s    18/s    19/s    28/s    29/s    30/s  NMI/s  LOC/s  SPU/s  CNT/s  PND/s  RES/s  CAL/s  TLB/s  TRM/s  THR/s  MCE/s  MCP/s  ERR/s  MIS/s
17:32:15      0  157.26    0.45    0.00    5.59  13.54    0.00    0.00  32.81    0.00    0.00    0.69    2.14    1.91    0.02    0.00  81.45    0.00    0.00    0.00  72.12    0.00    0.89    0.00    0.00    0.00    0.00    0.00    0.00
17:32:15      1    0.00    0.00    0.00    0.00    0.00    0.00    0.00    0.00    0.00    0.00    0.00    0.00    0.00    0.00    0.00  150.73    0.00    0.00    0.00  79.30    0.00    0.85    0.00    0.00    0.00    0.00    0.00    0.00

What is LOC/s, SPU/s, etc?..

MensaWater 02-19-2010 10:59 AM

Most of the headings are defined in the man page. Type "man mpstat" to see them.

I don't see LOC or SPU on mine so went looking and found this page where the description appears after the values for LOC, SPU and others:
http://lkml.indiana.edu/hypermail/li...4.3/02162.html

Sapfeer 02-20-2010 04:30 AM

Quote:

Originally Posted by jlightner (Post 3869558)
I don't see LOC or SPU on mine so went looking and found this page where the description appears after the values for LOC, SPU and others:
http://lkml.indiana.edu/hypermail/li...4.3/02162.html

That's good! Thank you very much! I'm wondering if I can find more detailed description of these types of interrupts...

MensaWater 02-22-2010 08:30 AM

Since its part of the Sysstat package you might download and review the source code for that to see if it has comments on it. Or you might try using the contact at Sysstat's home page:

http://pagesperso-orange.fr/sebastien.godard/

Sapfeer 02-22-2010 11:24 PM

Quote:

Originally Posted by jlightner (Post 3872594)
Since its part of the Sysstat package you might download and review the source code for that to see if it has comments on it. Or you might try using the contact at Sysstat's home page:

http://pagesperso-orange.fr/sebastien.godard/

Yeah, I though about it. But I found quite good description in WikiPedia: Types of Interrupts


All times are GMT -5. The time now is 05:05 PM.