From owner-freebsd-questions Wed May 15 11:34:33 2002 Delivered-To: freebsd-questions@freebsd.org Received: from fepC.post.tele.dk (fepC.post.tele.dk [195.41.46.147]) by hub.freebsd.org (Postfix) with ESMTP id 868B337B406 for ; Wed, 15 May 2002 11:33:53 -0700 (PDT) Received: from there ([80.63.125.30]) by fepC.post.tele.dk (InterMail vM.4.01.03.23 201-229-121-123-20010418) with SMTP id <20020515183352.KXFI12125.fepC.post.tele.dk@there> for ; Wed, 15 May 2002 20:33:52 +0200 Content-Type: text/plain; charset="iso-8859-1" From: Daniel Blankensteiner To: freebsd-questions@FreeBSD.ORG Subject: PRI and NICE Date: Wed, 15 May 2002 20:34:13 +0200 X-Mailer: KMail [version 1.3] MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-Id: <20020515183352.KXFI12125.fepC.post.tele.dk@there> Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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