Subject: Re: ps axl shows bogus data
To: Simon Burge <simonb@netbsd.org>
From: Jason Thorpe <thorpej@nas.nasa.gov>
List: tech-kern
Date: 04/25/1999 14:11:49
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 :-)

        -- Jason R. Thorpe <thorpej@nas.nasa.gov>