1837409 Members
3661 Online
110116 Solutions
New Discussion

NICE Value

 
SOLVED
Go to solution
David_594
Occasional Contributor

NICE Value

I want to know the command how to change the nice value of a job running.
1 REPLY 1
Geoff Wild
Honored Contributor
Solution

Re: NICE Value

man renice

renice(1M) renice(1M)

NAME
renice - alter priority of running processes

SYNOPSIS
renice [-n newoffset] [-g|-p|-u] id ...

DESCRIPTION
The renice command alters the system nice value (used in the system
scheduling priority) of one or more running processes specified by
id .... The new system nice value is set to 20 + newoffset, and is
limited to the range 0 to 39. However if the UNIX95 environment
variable is set, the new system nice value is set to current nice
value + newoffset. Processes with lower system nice values run at
higher system priorities than processes with higher system nice
values. The -l option of the ps command shows the current priority
(PRI) and nice value (NI) for processes. See also nice(1).


Rgds...Geoff
Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.