Subject: Re: Ps on 1.6.1_rc2 doesn't show start time for processes older than
To: Brian Buhrow <buhrow@lothlorien.nfbcal.org>
From: Frederick Bruckman <fredb@immanent.net>
List: port-i386
Date: 02/28/2003 05:57:57
On Thu, 27 Feb 2003, Brian Buhrow 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 for
> processes older than 24 hours.  Instead, it shows a "-".  Is this a known
> problem or should I send-pr it?

I think I see what's up. Look...

fredb@tautology-> ps -Ostart,lstart
  PID STARTED STARTED                  TT STAT    TIME COMMAND
 6753 20Feb03 Thu Feb 20 17:25:44 2003 p0 Ss+  1:42.38 (pine)
 6756 20Feb03 Thu Feb 20 17:25:45 2003 p1 Ss+  0:01.35 ksh
24028  5:52AM Fri Feb 28 05:52:25 2003 p3 R+   0:00.00 ps -Ostart,lstart
28261 Mon06AM Mon Feb 24 06:12:07 2003 p3 Ss   0:01.08 ksh
28399       -                        - p4 IWs+ 0:00.00 ksh

Now after typing a return in the sleeping aterm...

fredb@tautology-> r
ps -Ostart,lstart
  PID STARTED STARTED                  TT STAT    TIME COMMAND
 6753 20Feb03 Thu Feb 20 17:25:44 2003 p0 Ss+  1:42.38 (pine)
 6756 20Feb03 Thu Feb 20 17:25:45 2003 p1 Ss+  0:01.35 ksh
24029  5:52AM Fri Feb 28 05:52:49 2003 p3 R+   0:00.00 ps -Ostart,lstart
28261 Mon06AM Mon Feb 24 06:12:07 2003 p3 Ss   0:01.08 ksh
28399 Mon07AM Mon Feb 24 07:07:05 2003 p4 Ss+  0:01.32 ksh

Note the "W" is gone. It seems the information just isn't available
for a process that's swapped out, and waking everyone up just for that
would be bad.

Frederick