lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <3d8471ca0803121550g2a88a744nffdde7dff4ce9f95@mail.gmail.com>
Date:	Wed, 12 Mar 2008 23:50:35 +0100
From:	"Guillaume Chazarain" <guichaz@...il.com>
To:	"Jiri Slaby" <jirislaby@...il.com>
Cc:	"Chuck Ebbert" <cebbert@...hat.com>,
	linux-kernel <linux-kernel@...r.kernel.org>
Subject: Re: /proc/loadavg: total number of processes is wrong?

On 3/12/08, Jiri Slaby <jirislaby@...il.com> wrote:
> I guess you need to ps max, but it won't match exactly anyway.

With ps axh you can get it:

[g ~]$ cat /proc/loadavg|cat
0.45 0.35 0.24 3/192 12463
[g ~]$ ps Haxh|wc -l
192


-- 
Guillaume
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ