Subject: Re: ps axl shows bogus data
To: Jason Thorpe <thorpej@nas.nasa.gov>
From: Simon Burge <simonb@netbsd.org>
List: tech-kern
Date: 04/26/1999 08:25:42
Jason Thorpe wrote:

> On Sun, 25 Apr 1999 18:15:10 +1000 
>  Simon Burge <simonb@netbsd.org> wrote:
> 
>  > > Wasn't this fixed some time ago?  If not, will it be for 1.4?  It
>  > > looks pretty bad...
>  > > 
>  > >   UID   PID  PPID CPU PRI NI   VSZ  RSS WCHAN  STAT TT       TIME COMMAND
>  > >     0     0     0   0 -18  0     0 -20320 schedu DLs  ??    0:00.01 (swapper)
>  > >     0     1     0   0  10  0   320  184 wait   Is   ??    0:00.02 init 
>  > >     0     2     0   0 -18  0     0 -20320 daemon DL   ??    0:00.01 (pagedaemon)
>  > >     0     3     0   0 -18  0     0 -20320 reaper DL   ??    0:00.08 (reaper)
>  > >     0    10     0   0  -6  0     0 -20320 raidfr DL   ??    0:00.03 (raid)
>  > >     0    11     0   0  -6  0     0 -20320 raidfr DL   ??    0:05.14 (raid)
>  > 
>  > What arch is this on?  I had some patches somewhere to just check if
>  > RSS was less than zero - maybe something like this is needed on the
>  > 1.4 branch...
> 
> Um, we should fix the bug in the pmap module that causes this.
> 
> I can whip up an example for the Alpha port on Monday (maybe tonight,
> but I can't guarantee anything; I'm making dinner for some friends tonight :-)

Is this likely to be done for all ports for 1.4 though?  I still think
the option of having ps(1) verify (some small part of) the information
it displays is not out of the question...

Simon.