Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 15 May 2002 20:34:13 +0200
From:      Daniel Blankensteiner <db@traceroute.dk>
To:        freebsd-questions@FreeBSD.ORG
Subject:   PRI and NICE
Message-ID:  <20020515183352.KXFI12125.fepC.post.tele.dk@there>

next in thread | raw e-mail | index | archive | help
Hi again :-)

When I run top, this is the output:
[snip]
  PID USERNAME   PRI NICE  SIZE    RES STATE    TIME   WCPU    CPU COMMAND
  702       root         2   0 21692K 17528K select   0:36  0.73%  0.73% kmail
  669       root         2 -36  6272K  5604K select   0:26  0.10%  0.10% artsd
  637     root        28   0 46044K 44584K RUN    1:08  0.05%  0.05% XF86_SVGA

What I can't understand is PRI and NICE, what is the difference between those 
two?

With 'nice' or 'renice', I can give a process a new NICE, can I do the same 
with PRI and what values can PRI have?

Also, I thought that NICE could only have the following values: -20 to 20, but
as you can see, artsd have -36?

br
db

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020515183352.KXFI12125.fepC.post.tele.dk>