[Crash-utility] What is the unit for 'last_arrival' in 'task_struct.sched_info.last_arrival'.

Saravanan Palanisamy sarpalan at gmail.com
Tue Jan 13 11:06:08 UTC 2015


Hi,

    What is the unit for 'last_arrival' in
'task_struct.sched_info.last_arrival' ?
    I see that this value is used by 'ps -l' crash-utility command.

>>
       -l  display the task last_run or timestamp value, whichever applies,
           of selected, or all, tasks; the list is sorted with the most
           recently-run task (largest last_run/timestamp) shown first.
>>

     I see that this value (16 decimal digits) is much higher than jiffies
value (10 decimal digits) in my crash dumps.
    This value (unsigned long long) seems to be equal to the 'jiffies'
(unsigned long) value when the task was scheduled.

crash> p jiffies
jiffies = $9 = 5310085968
crash>

crash> ps -l
..
[4058835599089874]  PID: 4136   TASK: ffff8801309ce640  CPU: 4   COMMAND:
"kcapwdt"
...

System info:
-----------------
     MACHINE: x86_64  (2533 Mhz)
     Linux Kernel Version : 3.2.30

Thanks,
Saravanan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/crash-utility/attachments/20150113/14f989a6/attachment.htm>


More information about the Crash-utility mailing list