From owner-freebsd-questions@FreeBSD.ORG Thu Dec 20 17:55:06 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BBF9016A41A for ; Thu, 20 Dec 2007 17:55:06 +0000 (UTC) (envelope-from pieter@degoeje.nl) Received: from smtp.utwente.nl (unknown [IPv6:2001:610:1908:1000:204:23ff:feb5:7e66]) by mx1.freebsd.org (Postfix) with ESMTP id EC60C13C478 for ; Thu, 20 Dec 2007 17:55:05 +0000 (UTC) (envelope-from pieter@degoeje.nl) Received: from lux.student.utwente.nl (lux.student.utwente.nl [130.89.170.81]) by smtp.utwente.nl (8.12.10/SuSE Linux 0.7) with ESMTP id lBKHspfr006197; Thu, 20 Dec 2007 18:54:51 +0100 From: Pieter de Goeje To: freebsd-questions@freebsd.org Date: Thu, 20 Dec 2007 18:54:50 +0100 User-Agent: KMail/1.9.7 References: <676288.97766.qm@web57013.mail.re3.yahoo.com> In-Reply-To: <676288.97766.qm@web57013.mail.re3.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200712201854.51070.pieter@degoeje.nl> X-UTwente-MailScanner-Information: Scanned by MailScanner. Contact helpdesk@ITBE.utwente.nl for more information. X-UTwente-MailScanner: Found to be clean X-UTwente-MailScanner-From: pieter@degoeje.nl X-Spam-Status: No Cc: Unga Subject: Re: What priority this app running? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 20 Dec 2007 17:55:06 -0000 On Thursday 20 December 2007, Unga wrote: > Hi all > > $ ps auxl -w | grep amarok > test 1707 0.0 9.4 61680 48544 ?? S 12:29AM > 0:17.29 amarokapp 1003 1 1 20 0 ksere > > Could I check with the list what is the priority this > amarokapp is running? Priority isn't shown in the output above. Try $ ps -o pri,ni,rtprio,command -p `pgrep amarok` This will display priority, nice value and realtime priority (in that order). > > The ps man page doesn't show the values for priority, > therefore, what should be the values it should display > for lowest and highest priority (realtime)? A lower value means higher priority. Realtime priority 0 is as high as you can get. See also rtprio(1). Hope this helps, Pieter de Goeje