The vmstat first line shows the system average stats for systems since
the last time the system was booted. Vmstat shows the average use over
the 5 second interval in you example below of vmstat 5 5. Sar shows the
stats at the time the check was taken. So you are not comparing apples
to apples. So they are going to give you different results.
Ken L.
-----Original Message-----
From: James Wade [mailto:user-659655b2ea05@xymon.invalid]
Sent: Monday, December 03, 2007 2:34 PM
To: user-ae9b8668bcde@xymon.invalid
Subject: RE: [hobbit] Solaris vmstat and sar
Tried that, It didn't work. You still get some lines that
have incorrect data, like 67% idle. The sar data showed cpu
idle at 1% or 0% all 5 lines.
James
-----Original Message-----
From: Lund, Holly [mailto:user-15ee9e30aac3@xymon.invalid]
Sent: Monday, December 03, 2007 1:12 PM
To: user-ae9b8668bcde@xymon.invalid
Subject: RE: [hobbit] Solaris vmstat and sar
vmstat first output is invalid. doing vmstat 5 5 the other 4 should
change to reflect sar
Holly Lund