[CentOS] vmstat and loadavg disagree about system load
John R Pierce
pierce at hogranch.com
Thu Oct 9 03:57:02 UTC 2014
On 10/8/2014 8:48 PM, Mingfei Hua wrote:
> 1 4 499492 150392 4496 4763380 0 0 192 552 1227 1094 2 0 75 24 0
> ...
> 1 2 499520 135936 4428 4770852 0 0 27144 120 2428 2449 9 1 85 6 0
> 2 1 499520 148336 4428 4761668 0 0 19072 192 2281 2420 8 1 83 8 0
> 0 2 499520 156408 4432 4749652 0 0 12416 436 1303 1235 3 0 86 11 0
> ...
> [root at idm-amst-db-12 ~]# uptime
> 01:47:47 up 26 days, 4:21, 1 user, load average: 26.85, 22.12, 19.38
> [root at idm-amst-db-12 ~]# uptime
> 01:47:58 up 26 days, 4:21, 1 user, load average: 24.38, 21.74, 19.29
> [root at idm-amst-db-12 ~]# cat /proc/loadavg
> 25.40 22.05 19.45 1/555 13911
>
two completely different sorts of numbers. vmstat is printing the %
of CPU usage by user, sys, and idle. load average is the average
number of 'ready to run' processes in the last 1, 5, and 15 minutes.
--
john r pierce 37N 122W
somewhere on the middle of the left coast
More information about the CentOS
mailing list