Nice the Process
If you run a job that requires a lot of CPU time, you should nice the process.
The "nice" command is used to start a process with different priority.
So any job that will take a long time to run should be run as:
nice -n nice_value command arguments
where nice_value is a number from 1-19 (larger value → lower priority),
command is the command you want to run, and arguments are the arguments you pass to nice.
For more information about nice see the manual pages on nice (man nice).
|