Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 2 Jun 2005 12:36:40 +1000 (EST)
From:      Bruce Evans <bde@zeta.org.au>
To:        trasz <trasz@buziaczek.pl>
Cc:        freebsd-bugs@freebsd.org, freebsd-gnats-submit@freebsd.org
Subject:   Re: bin/81757: realtime processes are not marked with '<' in ps(1) output.
Message-ID:  <20050602122512.G98133@delplex.bde.org>
In-Reply-To: <200506011026.j51AQVXM016997@www.freebsd.org>
References:  <200506011026.j51AQVXM016997@www.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 1 Jun 2005, trasz wrote:

>> Description:
>      manual page for ps(1) reads '<       The process has raised CPU scheduling priority.'.  however, if a process has a realtime priority, it's not marked with '<' in STAT column.

'<' currently only applies to niced processes.  I think there should
be different indicators for realtime and idle priority and other
scheduling classes.

In top(1), scheduling classes are supposed to be encoded as fake
nice values and a single indicator almost works since the indicator is
numeric so it can indicate the scheduling class; however, the encoding
is limited and broken; a non-numeric indicator of the class combined
with a shorter numeric indicator of the the priority within the class
might be better.

Bruce



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