This script for clear or kill zombie process for solaris 9 and solaris 10.
------------------------------------------------------------------------------------------
#!/bin/ksh
trap '' 1 2 15
while :
do
for x in `ps -el | awk '$2 ~ /Z/ {print $4}'`
do
preap $x
done
sleep 86400 # every 24 Hrs.
done
trap 1 2 15
Tuesday, February 12, 2008
Clear Zombie Process
Posted by wihok at 11:40 AM
Subscribe to:
Post Comments (Atom)
0 comments:
Post a Comment