Less known Solaris features: pwait

Posted by user13366125 on Oracle Blogs See other posts from Oracle Blogs or by user13366125
Published on Sat, 24 May 2014 11:01:40 +0000 Indexed on 2014/05/26 21:53 UTC
Read the original article Hit count: 158

Filed under:

This is a nifty small tool that i'm using quite often in scripts that stop something and do some tasks afterwards and i don't want to hassle around with the contract file system. It's not a cool feature, but it's useful and relatively less known. An example: As i wrote long ago, you should never use kill -9 because often the normal kill is intercepted by the application and it starts to do some clean up tasks first before really stopping the process. So just because kill has returned, it doesn't imply that the process is away. How do you wait for process to disappear?

(more)

© Oracle Blogs or respective owner

Related posts about /Solaris