tags 675891 fixed-upstream thanks On Mon, Jun 4, 2012 at 1:20 AM, Frédéric Brière <fbri...@fbriere.net> wrote: > Package: manpages > Version: 3.40-0.1 > Severity: normal > File: /usr/share/man/man5/proc.5.gz > > The proc(5) description of the starttime field under /proc/[pid]/stat > states that the value is expressed in jiffies, but both the code > (fs/proc/array.c) and the actual values show that it is really expressed > in clock ticks as defined by USER_HZ.
The text was once true, but things changed in Linux 2.6 and the page was not updated. I applied the patch below. Cheers, Michael --- a/man5/proc.5 +++ b/man5/proc.5 @@ -824,7 +824,10 @@ Since kernel 2.6.17, this field is no longer maintained, and is hard coded as 0. .TP \fIstarttime\fP %llu (was %lu before Linux 2.6) -The time in jiffies the process started after system boot. +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 +.IR sysconf(_SC_CLK_TCK) ). .TP \fIvsize\fP %lu Virtual memory size in bytes. -- Michael Kerrisk Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/ Author of "The Linux Programming Interface"; http://man7.org/tlpi/ -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org