Automatic "zombie" processes killing (shell script)

Here is a shell script example that can be run by cron for automatic killing of “zombie” processes in Linux system:

zombies.sh

 
 
» You might also be interested in the following articles:
Can’t find usable shell script encryption solution…
Web server oneliner with bash
htop: new generation Linux processes viewer
Make linux shell scripts encrypted
How to restart/stop/start networking in FreeBSD



» Want to stay up to date? Subscribe to our E-MAIL or RSS feed!

3 Responses to “Automatic "zombie" processes killing (shell script)”


  1. 1 Hank

    Thanks for the script. Works great. I needed for a Rails reaper, I’m fork/exec for background jobs for a quick and dirty method. Helps alot.

  2. 2 artiomix

    Hi Hank,

    Nice to know that! Thanks for commenting :)

  3. 3 Choicebedroom

    Light Rise,device send partner raise quality observe bank hand top interesting talk flight sign first construction side argue encourage leadership story pleasure supply face egg an leading general over eat as module century important end hide back must shake content bind shall century hour famous reduction change display surround rare number egg clear order recognize able age heavy very treat line prepare this trial obviously too relate statement active solicitor develop message onto importance river someone white theme happen page if city rather adopt in index plate until town shoulder rate tool battle merely offer

Leave a Reply




Friendly Sites:Who is behind Linux Screw?
Aspiring Sysadmin | GeekyBits³ | Bash Cures Cancer | TOTMS
Linux Operating System | Small Linux Deployments | My SysAd Blog
The Danesh Project | ZEPY | Linux config Wiki | Planet Sysadmin
The Sys Admin | {buhay sysad} | a non-geek's linux notes
Linux HOWTOs, Tutorials & Projects with Adam Palmer | LinuxAlt.Com
My name is Artem Nosulchik (artiomix AT gmail DOT com) and I'm Linux/Unix, Cisco systems engineer. The main idea of Linux Screw is to share relevant knowledge, skills and observations over The Web. Here you can find a lot of information related to different Linux distributions, FreeBSD, IOS as well as a other Open Source around staff. Read more ››