From owner-freebsd-questions Wed Dec 29 9:53:16 1999 Delivered-To: freebsd-questions@freebsd.org Received: from dc.ispro.net (c14pc21.dc.turkuamk.fi [193.166.135.246]) by hub.freebsd.org (Postfix) with ESMTP id 28400151B0 for ; Wed, 29 Dec 1999 09:53:13 -0800 (PST) (envelope-from yurtesen@dc.ispro.net) Received: from localhost (yurtesen@localhost) by dc.ispro.net (8.9.3/8.9.3) with ESMTP id TAA04346 for ; Wed, 29 Dec 1999 19:53:10 +0200 (EET) (envelope-from yurtesen@dc.ispro.net) Date: Wed, 29 Dec 1999 19:53:10 +0200 (EET) From: Evren Yurtesen X-Sender: yurtesen@localhost To: questions@freebsd.org Subject: what is the difference between priority and nice levels Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hello, What is the difference between priority and nice levels? Even in the manual of renice command it says that; > Renice alters the scheduling priority of one or more running processes. It also says that priority is between -20 to 20 But when I set the priority to 30 in login.conf the top program gives this kind of output PID USERNAME PRI NICE SIZE RES STATE TIME WCPU CPU COMMAND 12012 yurtesen 18 30 1424K 1112K pause 0:00 0.00% 0.00% tcsh 15130 root 28 30 1620K 868K RUN 0:01 0.00% 0.00% top I am totally confused. When I set the priority in login.conf why does it change the nice level? Why not priority of the process? What is priority if I can set nice level only? thanks Evren To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message