Linux Tip of the Day - renice CPU hogs
have you ever wanted to automatically force a process that uses up most of the CPU.
renice 20 `ps -augxww | sort -rn +3 -4 | head -1 | awk ‘{print $2}’`
Note: Check your ‘ps’ command. Your arguments may differ.
Comments
One Comment on Linux Tip of the Day - renice CPU hogs
-
hp ink cartridges on
Tue, 19th Aug 2008 9:02 pm
If only you could give a bit more information that would be great.
Tell me what you're thinking...
and oh, if you want a pic to show with your comment, go get a gravatar!
