[Crash-utility] Add an option "-c" for commamd runq

Dave Anderson anderson at redhat.com
Mon May 21 18:56:37 UTC 2012



----- Original Message -----
> Hello Dave,
> 	The patch is used to improve the existing command, which adds an option "-c"
> to the the command "runq". The option "-c" displays the timestamp information about
> the runqueue each of cpu. The timstamp information, which accordings to the kernel
> version you use, may be the value of runqueue's member. for example, rq.clock or
> rq.timestamp_last_tick, even runqueue.timestamp_last_tick.
> 	Besides, I have already tested it on rhel4.8/rehl5.7/rhel6.2, without any error.
> 	The result like this:
> >    crash> runq -c
> >    CPU 0: 66789719522523
> >    CPU 1: 66789719628339
> >    CPU 2: 66789719519625
> 
> Regards,
> Wei Jiangang

Wei,

What is the debugging scenario that you feel the need to know the
timestamp of each cpu's runqueue?  Perhaps you want to compare it to
the "ps -l" output?  

Dave




More information about the Crash-utility mailing list