Justin, Thanks -- this is a bit like more information I was hoping to see in the bug report.
Justin Pryzby wrote: > On Thu, Apr 12, 2007 at 01:39:12AM +0200, Pierre Habouzit wrote: >> On Wed, Apr 11, 2007 at 11:21:06PM +0200, Michael Kerrisk wrote: >>>> See fs/proc/array.c in linux source to see the actual values, but the >>>> description of /proc/[process]/stat is just plain wrong (fields missing, >>>> bad ordering, bad scanf things formats). >>> Please be precise: which fields are missing, which are out of order, which >>> formats are bad? >> Well, there is too many to express the diff directly, moreover I'm not >> sure about what means the new ones. Just get fs/proc/array.c from the >> mainline kernel, you'll see them there. > The differences I see: > > nswap,cnswap are hardcoded as 0, and the manpage notes that they are > "not maintained". Okay -- I'll add a fix. > New field at the end: > (unsigned long long)delayacct_blkio_ticks(task) I believe that is already fixed by man-pages-2.44. > and: > >> But for instance the 'starttime' is _just after_ the '0' place holder, >> not after itrealvalue. > This is the only real difference afaics; fs.c from 2.6.18 says: > > [...] > nice, > num_threads, > start_time, > [...] > > manpages documents two fields between nice and start_time. Pierre, can you provide any more detail on this last point? (changes across kernel versions, perhaps.) Cheers, Michael -- Michael Kerrisk maintainer of Linux man pages Sections 2, 3, 4, 5, and 7 Want to help with man page maintenance? Grab the latest tarball at http://www.kernel.org/pub/linux/docs/manpages/ read the HOWTOHELP file and grep the source files for 'FIXME'. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]