* /proc/loadavg: total number of processes is wrong? @ 2008-03-12 22:28 Chuck Ebbert 2008-03-12 22:41 ` Guillaume Chazarain 2008-03-12 22:43 ` Jiri Slaby 0 siblings, 2 replies; 4+ messages in thread From: Chuck Ebbert @ 2008-03-12 22:28 UTC (permalink / raw) To: linux-kernel # 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. ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: /proc/loadavg: total number of processes is wrong? 2008-03-12 22:28 /proc/loadavg: total number of processes is wrong? Chuck Ebbert @ 2008-03-12 22:41 ` Guillaume Chazarain 2008-03-12 22:43 ` Jiri Slaby 1 sibling, 0 replies; 4+ messages in thread From: Guillaume Chazarain @ 2008-03-12 22:41 UTC (permalink / raw) To: Chuck Ebbert; +Cc: linux-kernel On 3/12/08, Chuck Ebbert <cebbert@redhat.com> wrote: > /proc/loadavg says 192 processes, but ps only sees 121. 'ps ax' does not include threads? -- Guillaume ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: /proc/loadavg: total number of processes is wrong? 2008-03-12 22:28 /proc/loadavg: total number of processes is wrong? Chuck Ebbert 2008-03-12 22:41 ` Guillaume Chazarain @ 2008-03-12 22:43 ` Jiri Slaby 2008-03-12 22:50 ` Guillaume Chazarain 1 sibling, 1 reply; 4+ messages in thread From: Jiri Slaby @ 2008-03-12 22:43 UTC (permalink / raw) To: Chuck Ebbert; +Cc: linux-kernel 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 ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: /proc/loadavg: total number of processes is wrong? 2008-03-12 22:43 ` Jiri Slaby @ 2008-03-12 22:50 ` Guillaume Chazarain 0 siblings, 0 replies; 4+ messages in thread From: Guillaume Chazarain @ 2008-03-12 22:50 UTC (permalink / raw) To: Jiri Slaby; +Cc: Chuck Ebbert, linux-kernel On 3/12/08, Jiri Slaby <jirislaby@gmail.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 ^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2008-03-12 22:50 UTC | newest] Thread overview: 4+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2008-03-12 22:28 /proc/loadavg: total number of processes is wrong? Chuck Ebbert 2008-03-12 22:41 ` Guillaume Chazarain 2008-03-12 22:43 ` Jiri Slaby 2008-03-12 22:50 ` Guillaume Chazarain
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.