I am trying to monitor a system load average using
uptime. On my debian box, I used the following:
$ for ((i=0;i<=1000000000;i++)); do uptime; done
However looking at
top, 18% of CPU was allocated to
bash ! This means that my uptime checking is way too agressive.
How do I gently check the load average ?
Have you tried
This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.