Subject: Re: Ps on 1.6.1_rc2 doesn't show start time for processes older than
To: Dave Uhring <duhring@charter.net>
From: Frederick Bruckman <fredb@immanent.net>
List: port-i386
Date: 02/28/2003 07:59:33
On Fri, 28 Feb 2003, Dave Uhring wrote:

> On Friday 28 February 2003 07:06 am, Pavel Cahyna wrote:
> > > > > 	Hello Folks.  I'm running a new 1.6.1_RC2 kernel
> > >
> > >                                         ^^^^^^^^^^^^^^^^
> > >
> > > > > with 1.6 binaries.  I notice that ps(1) doesn't show start
> > > > > times
> > >
> > > His world is out of sync with his kernel.
> >
> > Isn't ipfilter the only binary incompatible thing between
> > 1.6_anything and 1.6? Isn't ps using sysctl so it isn't necessary to
> > have kernel and ps in sync? I remember Matthew Green saying that ps
> > from 1.5 will work with any newer kernel.

Not quite the only thing. "libc" got a version bump for changes for
rpcbind &c, but that has nothing to do with this. The example I posted
previously, which reproduces the "problem", is from 1.6_RC1 kernel and
binaries.

> There are no problems as reported with a world which is in sync with the
> kernel:
>
> root    10  0.0  4.4     0 23240 ?? DK   Wed08AM  3:10.33 [ioflush]
> root     9  0.0  4.4     0 23240 ?? DK   Wed08AM  0:02.10 [reaper]
> root     8  0.0  4.4     0 23240 ?? DK   Wed08AM  0:00.01 [pagedaemon]
> root     7  0.0  4.4     0 23240 ?? DK   Wed08AM  0:40.56 [apm0]
> root     6  0.0  4.4     0 23240 ?? DK   Wed08AM  0:00.00 [pms0]
> root     5  0.0  4.4     0 23240 ?? DK   Wed08AM  0:00.00 [scsibus0]
> root     4  0.0  4.4     0 23240 ?? DK   Wed08AM  0:00.02 [usb1]
> root     3  0.0  4.4     0 23240 ?? DK   Wed08AM  0:00.00 [usbtask]
> root     2  0.0  4.4     0 23240 ?? DK   Wed08AM  0:00.03 [usb0]
> root     1  0.0  0.1   348   268 ?? Ss   Wed08AM  0:00.00 init
> root 20447  0.0  0.0   408   216 p0 R+    7:43AM  0:00.00 ps aux
>
> NetBSD dave 1.6.1_RC2 NetBSD 1.6.1_RC2 (dave) #0: Tue Feb 18 17:54:57
> UTC 2003

You're not showing any processes swapped out. So, Brian, was I right?
Is it just for processes that are swapped out? I seem to remember that
"ps" used to wake everybody up to get their start times, and that to
*not* do that was a requested feature.

Frederick