Operating System - Linux
1752577 Members
4887 Online
108788 Solutions
New Discussion юеВ

Re: Interrups statistic - "sar" vs. "mstat"

 
Vitaly Karasik_1
Honored Contributor

Interrups statistic - "sar" vs. "mstat"

Probaly it is trivial, but I don't understand why I see different statistics regarding interrups into "mstat" and "sar" output. There is 15997 against 92% !!!

[root]# sar -I SUM |head
Linux 2.4.21-47.ELsmp 12/25/2007

12:00:01 AM INTR intr/s
12:10:01 AM sum 15997.32

[ root]# mpstat
Linux 2.4.21-47.ELsmp 12/25/2007

11:14:07 AM CPU %user %nice %system %iowait %irq %soft %idle intr/s
11:14:07 AM all 2.40 0.00 7.41 0.05 1.97 10.78 77.39 92.36


2 REPLIES 2
Vitaly Karasik_1
Honored Contributor

Re: Interrups statistic - "sar" vs. "mstat"

is it possible to assign points to myself? :-)

The explanation is that "mpstat" provides wrong interupts stats when called without "interval" parameter.
I still don't know if this a feature or a bug...
Vitaly Karasik_1
Honored Contributor

Re: Interrups statistic - "sar" vs. "mstat"

without interval parameter "mpstat" shows statistics since system boot...