Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 20 Dec 2007 13:07:44 -0500
From:      "C High" <freebsd@fwd.tch3.com>
To:        freebsd-questions@freebsd.org
Subject:   Fwd: What priority this app running?
Message-ID:  <653c2e600712201007g44292abdq2d6ac290c3513a6@mail.gmail.com>
In-Reply-To: <653c2e600712201005x1e8e79a9la24bba073a52ede3@mail.gmail.com>
References:  <676288.97766.qm@web57013.mail.re3.yahoo.com> <200712201854.51070.pieter@degoeje.nl> <653c2e600712201005x1e8e79a9la24bba073a52ede3@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Dec 20, 2007 12:54 PM, Pieter de Goeje <pieter@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



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