The renice command is used to change the nice value of one or more processes that are running on a system. The renice command can also change the nice values of a specific process group.
Syntax
# renice [-n Increment] [-g -p -u] ID
Where ID – When p option is used it represents PID. When g option is used it represents process group ID. When u option is used it indicates user id.
To increase the priority of ps command, decrease the nice value
# renice –n -10 –p 52904
To decrease the priority of ps command, increase the nice value
# renice –n 10 –p 52904
Thanks
Tuesday, May 5, 2009
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment