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.
I hope you enjoyed reading this article. You may now subscribe to my RSS Feed, scroll down to leave a comment, or get back to the homepage.


1 User Commented In This Post
Subscribe To This Post Comment Rss Or TrackBack URL