rtprio.1 (79755) | rtprio.1 (95127) |
---|---|
1.\" 2.\" Copyright (c) 1994, Henrik Vestergaard Draboel 3.\" All rights reserved. 4.\" 5.\" Redistribution and use in source and binary forms, with or without 6.\" modification, are permitted provided that the following conditions 7.\" are met: 8.\" 1. Redistributions of source code must retain the above copyright --- 14 unchanged lines hidden (view full) --- 23.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 24.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 25.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 26.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 27.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 28.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 29.\" SUCH DAMAGE. 30.\" | 1.\" 2.\" Copyright (c) 1994, Henrik Vestergaard Draboel 3.\" All rights reserved. 4.\" 5.\" Redistribution and use in source and binary forms, with or without 6.\" modification, are permitted provided that the following conditions 7.\" are met: 8.\" 1. Redistributions of source code must retain the above copyright --- 14 unchanged lines hidden (view full) --- 23.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 24.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 25.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 26.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 27.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 28.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 29.\" SUCH DAMAGE. 30.\" |
31.\" $FreeBSD: head/usr.sbin/rtprio/rtprio.1 79755 2001-07-15 08:06:20Z dd $ | 31.\" $FreeBSD: head/usr.sbin/rtprio/rtprio.1 95127 2002-04-20 12:27:18Z charnier $ |
32.\" 33.Dd July 23, 1994 34.Dt RTPRIO 1 35.Os 36.Sh NAME 37.Nm rtprio , 38.Nm idprio 39.Nd execute, examine or modify a utility's or process's realtime --- 12 unchanged lines hidden (view full) --- 52.Nm [id|rt]prio 53.Fl t 54.Ar command 55.Op args 56.Nm [id|rt]prio 57.Fl t 58.Fl Ar pid 59.Sh DESCRIPTION | 32.\" 33.Dd July 23, 1994 34.Dt RTPRIO 1 35.Os 36.Sh NAME 37.Nm rtprio , 38.Nm idprio 39.Nd execute, examine or modify a utility's or process's realtime --- 12 unchanged lines hidden (view full) --- 52.Nm [id|rt]prio 53.Fl t 54.Ar command 55.Op args 56.Nm [id|rt]prio 57.Fl t 58.Fl Ar pid 59.Sh DESCRIPTION |
60.Nm Rtprio 61is used for controlling realtime process scheduling. | 60The 61.Nm 62utility is used for controlling realtime process scheduling. |
62.Pp | 63.Pp |
63.Nm Idprio 64is used for controlling idletime process scheduling, and can be called | 64The 65.Nm idprio 66utility is used for controlling idletime process scheduling, and can be called |
65with the same options as 66.Nm . 67.Pp 68A process with a realtime priority is not subject to priority 69degradation, and will only be preempted by another process of equal or 70higher realtime priority. 71.Pp 72A process with an idle priority will run only when no other 73process is runnable and then only if its idle priority is equal or 74greater than all other runnable idle priority processes. 75.Pp | 67with the same options as 68.Nm . 69.Pp 70A process with a realtime priority is not subject to priority 71degradation, and will only be preempted by another process of equal or 72higher realtime priority. 73.Pp 74A process with an idle priority will run only when no other 75process is runnable and then only if its idle priority is equal or 76greater than all other runnable idle priority processes. 77.Pp |
76.Nm Rtprio | 78Both 79.Nm |
77or 78.Nm idprio 79when called without arguments will return the realtime priority 80of the current process. 81.Pp 82If 83.Nm 84is called with 1 argument, it will return the realtime priority --- 123 unchanged lines hidden --- | 80or 81.Nm idprio 82when called without arguments will return the realtime priority 83of the current process. 84.Pp 85If 86.Nm 87is called with 1 argument, it will return the realtime priority --- 123 unchanged lines hidden --- |