Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ renice(8) — OSF/1 SILVER Baselevel 4 rev36

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

getpriority(2)

setpriority(2)

renice(8)  —  Maintenance

OSF

NAME

renice − Alters the priority of a running process

SYNOPSIS

renice priority [−p pid ...] [−g pgrp ...] [−u user ...]

FLAGS

-gInterprets arguments following the flag as process group IDs

-uInterprets arguments following the flag as usernames

-pResets renice argument interpretation to default process IDs

DESCRIPTION

The renice command alters the scheduling priority of one or more running processes.  The arguments are interpreted as process IDs, process group IDs, or user names.  When you issue the renice command with the −g flag, all processes in the process group have their scheduling priority altered.  When you run the renice command with the −u flag, all processes owned by the user have their scheduling priority altered.  By default, the processes affected are specified by their process IDs. 

The following priorities are particularly useful:

20Runs affected processes when no other processes are running on the system

0Runs at the base scheduling priority

negative number
Runs affected processes very quickly.

The preceding values are mapped by the command to those actually used by the kernel. 

Note that users who do not have root privileges cannot increase the scheduling priorities of their own processes (even if they had originally decreased those priorities). 

EXAMPLES

To change the priority of process IDs 987 and 32, and all processes owned by the daemon and root users, enter:

renice +1 987 -u daemon root -p 32

FILES

/usr/sbin/renice
Specifies the command path

RELATED INFORMATION

Functions: getpriority(2), setpriority(2)

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026