Popular Posts

Wednesday, June 13, 2012

Renice: Change Process Priority

Renice is a tool to change running process priority unix/linux systems. Once a process is running, you can use renice command. A nice level of 19 is the "nicest": the process will run only when nothing else on the system wants to. Negative values make a process get a greater percentage of the CPU's time than the default niceness (which is 0). Again, only the superuser can lower the nice number (raise a process' priority). Users can only raise the nice number (lower the priority) and can modify the priorities of only the jobs they started.

Example, "renice -20 -u proxy" (this will change the nice value from 0 to -20 for all proxy's processes)

No comments:

Related Posts Plugin for WordPress, Blogger...