KillHungProcess.sh

From The Apple Wiki

killHungProcess.sh checks if a process is responding and, if it isn't, kills it.