Xymon Mailing List Archive search

CPU Utilization, Not Good

list James Wade
Fri, 30 Nov 2007 12:06:44 -0600
Message-Id: <02ef01c8337b$c5bc5ff0$user-96ebcf3887e7@xymon.invalid>

I thought I'd give some more information.

I'm using solaris, and cpu utilization used vmstat.

 
If I do a sar I get this:

 
10:10:00      23       5       6      66

10:20:00      46       5       4      44

10:30:00      69       7       7      18

10:40:00      76       7       4      13

10:50:01      81       6       2      11

11:00:00      69       7       4      20

11:10:01      71       9       5      15

11:20:01      88       7       1       4

 
Average       23       5       6      66

 
Notice that cpu utilization from about 10:30 to 11:20 is

high. 

 
However, with Hobbit, I get a solid 23% average for everything.
the hobbit-client-sunos.sh uses:  vmstat 300 2 which gives met this:

 
$ vmstat 300 2

 kthr      memory            page            disk          faults      cpu

 r b w   swap  free  re  mf pi po fr de sr s0 s3 s6 s9   in   sy   cs us sy
id

 0 0 0 166920152 16811328 878 1814 1902 55 55 0 0 0 0 0 0 1755 3374 6188 16
4 80

 0 0 0 166919832 16811024 878 1814 1902 55 55 0 0 0 0 0 0 1756 3376 6188 16
4 80

 
Notice that a 5 minute average from vmstat shows 80% idle, yet the sar above
doesn't show that.

 
Is there anyway to get Hobbit to use sar for CPU utilization instead of
vmstat on solaris?

 
Thanks.James

 
From: James Wade [mailto:user-659655b2ea05@xymon.invalid] 
Sent: Friday, November 30, 2007 11:21 AM
To: 'user-ae9b8668bcde@xymon.invalid'
Subject: CPU Utilization, Not Good

 
Hi,

 
I've asked this several times, but I really have not received

a good answer. Hobbit doesn't really seem to monitor cpu 

utilization correctly.

 
For example, I can look at the load, login to the box, and then

run top. Top shows that cpu utilization is at 100%, 0% idle time.

 
However, the "trends" utilization graph shows 20% cpu utilization.

 
Can someone tell me why?

 
Thanks..James

 
James Wade