#!/bin/bash
# killing zombies if possible
kill -HUP `ps -A -ostat,ppid,pid,cmd | grep -e '^[Zz]' | awk '{print $2}'`; kill -TERM `ps -A -ostat,ppid,pid,cmd | grep -e '^[Zz]' | awk '{print $2}'`