What priority this app running?

Pieter de Goeje pieter at degoeje.nl
Thu Dec 20 09:55:06 PST 2007


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


More information about the freebsd-questions mailing list