Re: /proc/loadavg: total number of processes is wrong?

From: Jiri Slaby
Date: Wed Mar 12 2008 - 18:44:21 EST


On 03/12/2008 11:28 PM, Chuck Ebbert wrote:
# cat /proc/loadavg ; ps ax | wc -l
0.00 0.00 0.00 1/192 3683
121

/proc/loadavg says 192 processes, but ps only sees 121.

I guess you need to ps max, but it won't match exactly anyway.

regards,
--
Jiri Slaby
Faculty of Informatics, Masaryk University
Suse Labs
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/