[CentOS] vmstat and loadavg disagree about system load

Thu Oct 9 05:29:44 UTC 2014
Mingfei Hua <mfhua at aerohive.com>

Hi John,

Followed line is quoted from “man vmstat”, it means r+b=running process + uninterruptible sleep process.  So, what’s the definition of system load, doesn’t it include running process and process in uninterruptible sleep. Which part is wrong? Please explicitly denote.

>     Procs

>         r: The number of processes waiting for run time.

>         b: The number of processes in uninterruptible sleep.



Regards,

Mingfei



-----Original Message-----
From: centos-bounces at centos.org [mailto:centos-bounces at centos.org] On Behalf Of John R Pierce
Sent: 2014年10月9日 13:19
To: centos at centos.org
Subject: Re: [CentOS] vmstat and loadavg disagree about system load



On 10/8/2014 10:01 PM, Mingfei Hua wrote:

> The man interpretation of vmstat running and blocked process:

>     Procs

>         r: The number of processes waiting for run time.

>         b: The number of processes in uninterruptible sleep.

> The blocked here is not process waiting user input, it should include process waiting IO and network. It should has same meaning with system load in loadavg which include running(runnable) process and process in status of uninterruptible sleep.



'should' according to what ?



Linux has *NEVER* worked that way.



--

john r pierce                                      37N 122W

somewhere on the middle of the left coast



_______________________________________________

CentOS mailing list

CentOS at centos.org<mailto:CentOS at centos.org>

http://lists.centos.org/mailman/listinfo/centos