kernelnewbies.kernelnewbies.org archive mirror
 help / color / mirror / Atom feed
* How is run queue length computed in linux proc filesystem
@ 2013-08-16 13:20 emani murali
  2013-08-16 13:46 ` Valdis.Kletnieks at vt.edu
  2013-08-16 16:57 ` Rik van Riel
  0 siblings, 2 replies; 6+ messages in thread
From: emani murali @ 2013-08-16 13:20 UTC (permalink / raw)
  To: kernelnewbies

Hi,

I'm trying to obtain number of runnable processes from linux kernel. sar -q
gives this information readily. However I'm trying to get this value from
/proc filesystem. There is no file in /proc that gives this value directly,
then how is runq-sz computed.

The wiki page http://en.wikipedia.org/wiki/Load_(computing) provides some
insight into how run queue length is computed based on ldavg values but it
is unclear. Can someone provide more pointers on this. Cheers

Thanks,
Kris
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20130816/9f018c50/attachment.html 

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2013-08-16 19:02 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-08-16 13:20 How is run queue length computed in linux proc filesystem emani murali
2013-08-16 13:46 ` Valdis.Kletnieks at vt.edu
2013-08-16 13:51   ` emani murali
2013-08-16 14:11     ` Valdis.Kletnieks at vt.edu
2013-08-16 16:57 ` Rik van Riel
2013-08-16 19:02   ` Valdis.Kletnieks at vt.edu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).