[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <9E88C8678BF34240A8C61D4078A3D251F7940F@xmb-sjc-23e.amer.cisco.com>
Date: Wed, 22 Apr 2009 12:41:45 -0700
From: "Venky Venkatesh (venky)" <venky@...co.com>
To: <linux-kernel@...r.kernel.org>
Subject: Proc entry to know task/thread sleep time
Hi,
I am looking for any proc entry/tool which would provide the time for
which a thread/task has been sleeping. The use of this is the following:
I have a multi-threaded application and I am trying to determine the
extent of multi-processing between threads i.e. determine how much time
threads spend on blocking for resources/each other Vs doing productive
work.
If the above is available, is there an additional info on
time-waiting-on-io (i.e. a subset of the above sleep time) that is also
available thru a proc entry/tool? This would find use in a server like
application where if all the current threads are spending most of their
time waiting on I/O then can add more threads.
In general if there is a proc entry which accounts for time spent by a
thread in various states that could also help.
Thanx
-Venky
--
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