All questions related to installations, configurations and maintenance of Advanced Host Monitor (including additional tools such as RMA for Windows, RMA Manager, Web Servie, RCC).
HostMonitor uses vmstat
-----
vmstat -n 1 2 | tail -1 | awk '{ if (NF==17) {print $(NF-4)+$(NF-3)} else {print $(NF-3)+$(NF-2)}}';;
-----
What version of this utility installed on your system?
[root@server ~]# vmstat
procs -----------memory---------- ---swap-- -----io---- --system-- -----cpu-----
r b swpd free buff cache si so bi bo in cs us sy id wa st
9 0 521992 322344 332780 5042860 0 0 1 50 1 1 8 17 74 1 0
And this is what I have for code on "SYSTEM: Average Load for the past 5 min"
A single-core CPU is like a single lane of traffic. Imagine you are a bridge operator ... sometimes your bridge is so busy there are cars lined up to cross.
...
over 1.00 means there's backup. How much? Well, 2.00 means that there are two lanes worth of cars total -- one lane's worth on the bridge, and one lane's worth waiting. 3.00 means there are three lane's worth total -- one lane's worth on the bridge, and two lanes' worth waiting. Etc.
This is basically what CPU load is. "Cars" are processes using a slice of CPU time ("crossing the bridge") or queued up to use the CPU. Unix refers to this as the run-queue length: the sum of the number of processes that are currently running plus the number that are waiting (queued) to run.
Like the bridge operator, you'd like your cars/processes to never be waiting. So, your CPU load should ideally stay below 1.00. Also like the bridge operator, you are still ok if you get some temporary spikes above 1.00 ... but when you're consistently above 1.00, you need to worry.
In your case (4 cores, HM multiplies by 100, 4x100=400) "2000" returned by script means - in order to process commands from all running processes on the system CPU must be 5 times faster.
Sorry to bother you again but something doesn't add. Even when the alarm of system load is giving me these numbers that are supposed to be showing all cores are in use and I should need more I get 60~760% average CPU usage while monitoring with another solution (VMware performance metrics).
What it's happening? Is there any other CPU test I can use that shows CPU usage for the server (not a process) instead of load?