Subject: re: keeping the process start time in core at all times...
To: Simon Burge <simonb@wasabisystems.com>
From: matthew green <mrg@eterna.com.au>
List: tech-kern
Date: 12/02/2002 11:29:34
> I damn near fixed this in my own source tree but I've been too lazy to
> maintain the changes (and I'm also still not exactly sure how/why it
> went away and whether or not it can be restored without actually moving
> p_start from struct pstats).
It went away when ps was changed to use sysctl() calls to fetch all
the data.
That said, I have heard lots of people who mentioned that they miss the
start time being displayed by ps. The stats part of the U is either 224
bytes on a 32bit arch or 448 bytes on a 64bit arch - I think that's too
big to add to struct proc, but adding just the start time is something
I'd be for...
the thing is that on a machine that _hasn't paged out anything_
i lose the start times as well. where the hell are they if
they're not paged out such that ps(1) still can't find them?