Strange nice value in top.

David Malone dwmalone at maths.tcd.ie
Tue May 15 11:17:36 UTC 2007


On Mon, May 14, 2007 at 11:14:45PM +0400, pluknet wrote:
> On 14/05/07, Nikolay Pavlov <quetzal at zone3000.net> wrote:
> >I've been watching this for about several months:

> >  PID USERNAME    THR PRI NICE   SIZE    RES STATE    TIME   WCPU COMMAND
> > 1119 root          1  -8 r-52  7280K  7304K biord    0:02  0.98% cdrecord
> >                        ^^^^^^^^^

> > 1035 quetzal       1  60 r16F 11500K  7604K select   0:01  0.00% artsd
> >                        ^^^^^^^^^
> 
> You are not alone. I observe it for months on CURRENT too. From the top:
>  768 root          1   8 r-36  3504K   536K nanslp   0:10  0.00% watchdogd


The "r" means that it is a realtime process. The "F" is to do with
FIFO scheduling. The format_nice function in /usr/src/usr.bin/top/machine.c
shows all the things that this feild can contain. They should probably
be documented in the man page.

	David.


More information about the freebsd-current mailing list