lkml.org 
[lkml]   [2014]   [Feb]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 1/1] v2 add StartTimeMonotomic, StartTimeBootTime to per pid in /proc
On Fri, 31 Jan 2014, Dan Ballard wrote:

> starttime in /proc/$PID/stat is inaccurate by "clock tick" granularity.
> The process starttime is useful for a variety of things, like figuring
> out creation ordering of processes and it is useful to detect PID
> reuses in a somewhat reliable way.
>
> The kernel internally stores finer granularity values and this patch
> exports them in the easily usable location /prod/$PID/status
> as StartTimeMonotonic and StartTimeBootTime.

If you want proper ordered and granular information use tracing.

Thanks,

tglx




\
 
 \ /
  Last update: 2014-02-04 22:21    [W:0.050 / U:0.020 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site