sar and mpstat showing contradictory outputs
723711Nov 3 2009 — edited Nov 4 2009hi all,
I have a LINUX machine with oracle 9i installed on it.I used SAR,MPSTAT,VMSTAT and IOSTAT to find the CPU utilization.The SAR result is different from others,Why is that?Compare the "%idle".
sample output of SAR
--------------------------------------------------------------------------------
Linux 2.6.9-42.0.2.ELsmp 11/02/2009
12:00:01 AM CPU %user %nice %system %iowait %idle
12:10:01 AM all 12.23 0.00 12.08 75.69 0.00
12:20:01 AM all 13.78 0.00 13.14 73.08 0.00
12:30:08 AM all 8.47 0.00 11.53 80.00 0.00
12:40:01 AM all 7.81 0.00 11.00 81.19 0.00
03:40:01 AM all 30.50 0.00 51.19 18.31 0.00
03:50:01 AM all 35.76 0.00 23.64 40.61 0.00
04:10:02 AM all 9.36 1.73 10.84 78.07 0.00
05:40:01 AM all 20.04 0.00 32.55 47.41 0.00
07:00:01 AM all 32.63 0.00 44.61 22.75 0.00
11:50:01 AM all 25.08 0.00 44.40 30.52 0.00
08:30:01 PM all 28.15 0.00 50.19 21.66 0.00
09:10:01 PM all 23.24 0.00 41.11 35.65 0.00
11:10:01 PM all 31.21 0.00 44.53 24.25 0.00
11:20:01 PM all 12.31 0.00 22.61 65.07 0.00
Average: all 17.60 0.12 26.36 55.92 0.00
sample output of MPSTAT
--------------------------------------------------------------------------------
Linux 2.6.9-42.0.2.ELsmp 11/02/2009
11:46:47 PM CPU %user %nice %system %iowait %irq %soft %idle intr/s
11:46:47 PM all 0.03 0.00 0.05 0.04 0.00 0.00 99.89 1020.74
other commands outputs also similar to MPSTAT
can someone explain me as early as possible.
Regards
Praveen.