Re: [BUG] ps -t pid

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




----- Original Message -----
> Hi Dave,
> 
> I just wanted to report a minor issue.
> 
> The -t option on the 'ps' command will return invalid values for newer
> kernels.
> 
> I believe that this has to do with newer kernels around the 3.17
> timeframe having the 'start_time' field in the task_struct structure
> changed from being a 'struct timespec' to being a 'u64' value.
> 
> I'm using a 4.1 based kernel. (The 3.16 based kernel that I also tried
> it on does not exhibit this issue.)
> 
> For example:
> 
> crash> ps -t 1
> PID: 1      TASK: ffff88046d688000  CPU: 8   COMMAND: "systemd"
>      RUN TIME: 213503982286 days, 08:28:04
>    START TIME: 126000000
>         UTIME: 486536482
>         STIME: 8484707060
> 
> I'm afraid that I do not possess the skill to suggest a fix,
> but I thought that I would mention it.
> 
> Thanks for reading this.

Sure enough -- thanks for the report.

Dave

--
Crash-utility mailing list
Crash-utility@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/crash-utility



[Index of Archives]     [Fedora Development]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]     [Fedora Tools]

 

Powered by Linux