RE: monitoring load average
Perhaps you can try with vmstat. It gives you the CPU idle time, so you
can easily program an script that returns (100 - idle time). Use
netsaint_statd plugin to return to netsaint server what your script
I hope this helps.
De: Russell Coker [mailto:email@example.com]
Enviado el: martes, 07 de enero de 2003 17:50
Para: Debian ISP
Asunto: monitoring load average
I am involved with setting up NetSaint monitoring of a medium size
One problem I have is determining suitable ways of monitoring system
machine with 100% usage of a resource by server processes will have
queues that grow indefinately (and performance will suck).
So the load average doesn't seem particularly useful. If a machine has
sustained load average of 3.0 from from CPU operations and it has two
then that indicates a problem. If it is from disk operations and there
four disks in a RAID-5 array then it's equal to the number of non-parity
stripes and the load is probably at the limit of what it can handle. If
half from CPU and half from disk then it shouldn't be a problem at all.
I think that perhaps a better way would be to have one test measure on
amount of CPU time used (the sum of the "user" and "system" percentages
the CPU usage as reported by top would do - nice time doesn't matter).
Then I could have another test measure the disk utilization in terms of
await, svctm, or %util fields as reported by iostat.
http://www.coker.com.au/selinux/ My NSA Security Enhanced Linux
http://www.coker.com.au/bonnie++/ Bonnie++ hard drive benchmark
http://www.coker.com.au/postal/ Postal SMTP/POP benchmark
http://www.coker.com.au/~russell/ My home page
To UNSUBSCRIBE, email to firstname.lastname@example.org
with a subject of "unsubscribe". Trouble? Contact