From: Khubaib <khabi_uet@yahoo.com>
To: linux-kernel@vger.kernel.org
Subject: runqueue length
Date: Fri, 6 Jul 2007 14:30:46 -0700 (PDT) [thread overview]
Message-ID: <255428.88208.qm@web90414.mail.mud.yahoo.com> (raw)
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/
reply other threads:[~2007-07-06 21:37 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=255428.88208.qm@web90414.mail.mud.yahoo.com \
--to=khabi_uet@yahoo.com \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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®