svn commit: r216955 - head/usr.sbin/rtprio

Anonymous swell.k at gmail.com
Thu Jan 6 22:14:13 UTC 2011


Alexander Best <arundel at freebsd.org> writes:

> On Thu Jan  6 11, John Baldwin wrote:
>> Note that that usage is rather pointless since it means you apply rtprio to 
>> the 'rtprio' process that is about to exit. :)
>
> yeah but at least it makes the usage of -X consistent. ;) also consider the
> following: the current shell has idle priority and you want to run rtprio in
> normal priority. then rtprio -t -0 would be a neat way of doing
> rtprio -t rtprio. ;) wel...not quite, because the priotity gets set to "NORMAL"
> when rtprio is almost finished running. ;)

I think it'd be useful if the syntax allowed smth like

  $ rtprio 1 -0 -111 -222 -333 -444 -555 ...

>
> i admit using -0 for setting rtpio's own priority isn't very useful, but the
> rtprio(1) manual states:
>
> Pid of 0 means "the current process".


More information about the svn-src-all mailing list