* runqueue length
@ 2007-07-06 21:30 Khubaib
0 siblings, 0 replies; only message in thread
From: Khubaib @ 2007-07-06 21:30 UTC (permalink / raw)
To: linux-kernel
Hi,
I am working on a run time threading library in which I want to
interact with the kernel to find out global system utilization
(especially in SMPs).
My question is: Is there a way to find out from an application that how
many active threads are there in OS? By active, I mean ready to run AND
already running (both separately reported or may be one number).
Similarly a number for how many threads are there in wait queues
(blocked on I/O or waiting for an event or a signal). A program might
have multiple threads. This information is useful for runtime library developers, because they can tune their threads and other scheduling. accordingly.
Thanks for your time,
-Khubaib
____________________________________________________________________________________
Choose the right car based on your needs. Check out Yahoo! Autos new Car Finder tool.
http://autos.yahoo.com/carfinder/
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2007-07-06 21:37 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-07-06 21:30 runqueue length Khubaib
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®