Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 20 Dec 2007 18:54:50 +0100
From:      Pieter de Goeje <pieter@degoeje.nl>
To:        freebsd-questions@freebsd.org
Cc:        Unga <unga888@yahoo.com>
Subject:   Re: What priority this app running?
Message-ID:  <200712201854.51070.pieter@degoeje.nl>
In-Reply-To: <676288.97766.qm@web57013.mail.re3.yahoo.com>
References:  <676288.97766.qm@web57013.mail.re3.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200712201854.51070.pieter>