[Crash-utility] Re: Finding thread/task idle time

Dave Anderson anderson at redhat.com
Tue Apr 17 12:44:03 UTC 2007


Nipul Gandhi wrote:

> Hi all -
>
> When looking at a vmcore, is there anyway to
> determine how long a thread has been idle ?
>
> When debugging hangs, it would be very important to
> know this....if example, if a thread is blocked
> in biowait()/submit_bio() for more than a few milliseconds.
>
> Any insight appreciated....An example would be
> ideal.
>
> Thanks in advance,
> Nipul
>
> --
> ------------
> Nipul Gandhi
> x1306
>
> VERITAS

"ps -l" lists all tasks in the order of their task_struct->timestamp
value, which was updated when the task last passed through
schedule().

Dave





More information about the Crash-utility mailing list