Solaris commands for process management - preap

preap – try to kick-off zombie process



# ps -efl|grep 551 
0 Z root 551 550 0 0 - - 0 - - ? 0:00 <defunct> 
# preap 551 
551: exited with status 0 
# ps -efl|grep 551



In above example, this tool successfully removes zombie process. Otherwise the only way to kill them is to reboot

No comments:

Post a Comment

Compressed tar archive

There are some cases when you want to create compressed tar archive but you do not have enough disk space to keep original files and tar arc...