Subject: Re: ps(1) reports negative cpu time
To: None <netbsd-users@netbsd.org>
From: Jukka Salmi <j+nbsd@2005.salmi.ch>
List: netbsd-users
Date: 08/09/2005 15:00:25
Jukka Salmi --> netbsd-users (2005-08-03 14:53:19 +0200):
> on a system running NetBSD/i386 2.0_STABLE, I see:
> 
> $ ps -p8  
> PID TT STAT TIME COMMAND
>   8 ?? DK   0 :-1.99 [pagedaemon]
> 
> Negative time? Is pagedaemon generating time? ;-)
> 
> Has anybody seen this before, i.e. is this a known bug?

Today I had to restart the system in question; before doing so I checked
ps output: pagedaemon still was at -1.99...

   8 ?? DK   0:-1.99 [pagedaemon]

Hmm, why is it not using cpu time? However, after the restart it was
still the same:

   8 ?? DK   0:-1.99 [pagedaemon]

I restarted again, just for fun, and since then (17 minutes) I'm seeing

   8 ?? DK   0:00.00 [pagedaemon]


Hints?

TIA, Jukka

-- 
bashian roulette:
$ ((RANDOM%6)) || rm -rf ~