⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 renice.8

📁 <B>Digital的Unix操作系统VAX 4.2源码</B>
💻 8
字号:
.\" SCCSID: @(#)renice.8	8.1	9/11/90.TH renice 8.SH Namerenice \- alter priority of running processes.SH Syntax.B /etc/renicepriority [ [.B \-p] pid ... ] [ [.B \-g] pgrp ... ] [ [.B \-u] user ... ].SH Description.NXR "renice command".NXAM "getpriority system call" "renice command".NXR "process" "changing priority of running"The .PN renicecommand alters the scheduling priority of one or more running processes.The.I whoparameters are interpreted as process ID's, process groupID's, or user names.Using.PN reniceon a process group causes all processes in the process groupto have their scheduling priority altered.  Using.PN reniceon a user causes all processes owned by the user to havetheir scheduling priority altered.By default, the processes to be affected are specified bytheir process ID's.  .SH OptionsTo force .I whoparameters to be interpreted as process group ID's, a.PN \-g may be specified.  To force the.I whoparameters to be interpreted as user names, a.PN \-umay be given.  Supplying.PN \-pwill reset .I whointerpretation to be (the default) process ID's..PPUsers other than the superuser may only alter the priority ofprocesses they own,and can only monotonically increase their ``nice value''within the range 0 to PRIO_MIN (20).(This prevents overriding administrative fiats.)The superuser can alter the priority of any processand set the priority to any value in the range PRIO_MAX (\-20)to PRIO_MIN.Useful priorities are:19 (the affected processes will run only when nothing elsein the system wants to),0 (the ``base'' scheduling priority),anything negative (to make things go very fast)..SH ExamplesThe following commandchanges the priority of process ID's 987 and 32, andall processes owned by users daemon and root:.EX/etc/renice +1 987 \-u daemon root \-p 32 .EE.SH RestrictionsIf you make the priority very negative,then the process cannot be interrupted.To regain control you make the priority greater than zero.Non-superusers cannot increase scheduling priorities of their own processes, even if they were the ones that decreased the priorities in the first place..SH Files.TP 15.PN /etc/passwdMaps user names to user IDs.SH See Alsogetpriority(2), setpriority(2)

⌨️ 快捷键说明

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