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

Should I trust AI

 Should I trust AI? So far no, sorry.  I tested for the moment (May, 2025) most advanced model for programming and ask very simple question:...