Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ renice(2) — Ultrix-11 3.1

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

nice(1)

renice(1)

nice(2)

renice(2)

NAME

renice − set program priority

SYNTAX

int renice(pid, nice)
int pid, nice;

DESCRIPTION

The renice system call sets the scheduling priority of the process pid to nice. 

RESTRICTIONS

The superuser may renice any process to any value from -127 to 127.  Other users may only increase the nice value of one of their own processes. 

RETURN VALUE

If unsuccessful, returns a −1, and the global variable errno indicates the error code. 

DIAGNOSTICS

The renice call will fail if:

[EPERM] The named process’s effective user ID is not the same as the calling process, and the process’s effective user ID is not the superuser. 

[ESRCH] The named process does not exist. 

ASSEMBLER

(renice = 87.) 
sys renice; pid; nice
(old nice value in r0)

SEE ALSO

nice(1), renice(1), nice(2)

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