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".
New field at the end:
(unsigned long long)delayacct_blkio_ticks(task)
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.
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]