nice.2

来自「UNIX v6源代码 这几乎是最经典的unix版本 unix操作系统设计和莱」· 2 代码 · 共 54 行

2
54
字号
.th NICE II 8/5/73.sh NAMEnice \*- set program priority.sh SYNOPSIS(nice = 34.).br(priority in r0).br.ft Bsys nice.s3nice(priority).ft R.sh DESCRIPTIONThe scheduling.it priorityof the process is changed to the argument.Positive priorities get lessservice than normal; 0 is default.Only the super-user may specify a negative priority.The valid range of.it priorityis 20 to \*-220.The value of 4 is recommended to userswho wish to execute long-running programswithout flak from the administration..s3The effect of this call ispassed to a child process by the.it forksystem call.The effect can be cancelled byanother call to.it nicewith a.it priorityof 0..s3The actual running priority of aprocess is the.it priorityargument plus a number thatranges from 100 to 119 depending on thecpu usage of the process..sh "SEE ALSO"nice (I).sh DIAGNOSTICSThe error bit(c-bit)is set if the user requests a.it priorityoutside the range of 0 to 20and is not the super-user.

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?