But you should not see a major difference like 67% idle to 1% idle.... I've tried using two screens on the same system comparing sar to vmstat and using different intervals. vmstat significantly understates cpu usage in comparison to top, uptime, and sar.
Does any have any ideas?
James
-----Original Message----- From: Langford, Kenneth [mailto:crlangfo at ugs.com] Sent: Monday, December 03, 2007 2:13 PM To: hobbit at hswn.dk Subject: RE: [hobbit] Solaris vmstat and sar
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:jkwade at futurefrontiers.com] Sent: Monday, December 03, 2007 2:34 PM To: hobbit at hswn.dk 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:holly.lund at hq.doe.gov] Sent: Monday, December 03, 2007 1:12 PM To: hobbit at hswn.dk 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
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
participants (1)
-
jkwadeļ¼ futurefrontiers.com