Fixes small bug in struct proc_t documentation.
From http://man7.org/linux/man-pages/man5/proc.5.html: (22) starttime %llu The time the process started after system boot. In kernels before Linux 2.6, this value was expressed in jiffies. Since Linux 2.6, the value is expressed in clock ticks (divide by sysconf(_SC_CLK_TCK)).
This commit is contained in:
parent
4090fa711b
commit
b52a267404
@ -74,7 +74,7 @@ typedef struct proc_t {
|
|||||||
// and so on...
|
// and so on...
|
||||||
cutime, // stat cumulative utime of process and reaped children
|
cutime, // stat cumulative utime of process and reaped children
|
||||||
cstime, // stat cumulative stime of process and reaped children
|
cstime, // stat cumulative stime of process and reaped children
|
||||||
start_time; // stat start time of process -- seconds since 1-1-70
|
start_time; // stat start time of process -- seconds since system boot
|
||||||
#ifdef SIGNAL_STRING
|
#ifdef SIGNAL_STRING
|
||||||
char
|
char
|
||||||
// Linux 2.1.7x and up have 64 signals. Allow 64, plus '\0' and padding.
|
// Linux 2.1.7x and up have 64 signals. Allow 64, plus '\0' and padding.
|
||||||
|
Loading…
Reference in New Issue
Block a user