Fwd: What priority this app running?

C High freebsd at fwd.tch3.com
Thu Dec 20 10:36:23 PST 2007


On Dec 20, 2007 12:54 PM, Pieter de Goeje <pieter at degoeje.nl> wrote:
> On Thursday 20 December 2007, Unga wrote:
> > 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).
>

I am not so familiar with the pri or rtprio columns as much as I am
the nice column, and I'm also new to this list. So, I hope I'm not
throwing in my 2 cents too early.

With nice, 20 is the lowest priority, 0 is the base, and -20 is the highest.

for me `ps auxl` shows both pri and ni, but not rtprio and I'm
definitely not the one to ask regarding pri and rtprio.

I should do some reading upon these, too.

Cheers,
Clair
-- 
tch3.com


More information about the freebsd-questions mailing list