Script to kill Resource Hungry Processes and Save from System Hang

By Angsuman Chakraborty, Gaea News Network
Saturday, March 28, 2009

I am sure even if you use Fedora or CentOS, you have had fair share of irritation caused by system hangs. Of course no one can doubt Microsoft Windows’ supremacy in this event but still, any kind of system hang interrupt our whole process of working and thinking in a big way. What happens with most of the system hangs caused by software is, some of the running processes take too much of CPU resource by themselves. One of the main culprits have been Firefox (which can be solved from our guide to kill and restart non-responding Firefox). So basically we have a way out by which you can avoid the fate of a non responding system.

Our developers have made a script that, when run, kills the most resource-hungry processes from the top. Thereby it increases CPU idle time by many folds and saves the system from being non-responsive and you from having to restart abruptly. You may say, that one can do it manually too. But, you need to go and see the top processes then, and then kill one by one. Which is by itself very time consuming and may not work so fast for a system that is about to go dull. Again, killing them may cause you to re-open and start working again. But its at least better from a restart. Saves your time, energy and also your computer hardware.

  1. Here is the script that Kills heavy CPU resource consuming process and saves your system from getting hanged. Download it.
  2. Right click on it, Go to Properties -> Permission
  3. Check Allow executing file as program.
  4. Save -> Exit -> double click on the file -> Run.

Put in your suggestions and comments too.

YOUR VIEW POINT
NAME : (REQUIRED)
MAIL : (REQUIRED)
will not be displayed
WEBSITE : (OPTIONAL)
YOUR
COMMENT :