2010-04-04から1日間の記事一覧
#!/bin/sh #reportzombie.sh declare -a zombiepids mombiepids=($( ps -eo pid,stat | grep 'z' \ | sed 's/^ \{1,\}//g' | cut -d" " -f1)) if [ ${#zombiepids[*]} -gt 0 ]; then echo "ゾンビプロセスは ${#zombiepids[*]} 個です" ps -f -p ${zombiepid…