Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to capture Signal 15 /shutdown in UNIX

Status
Not open for further replies.

LexMinimus

Technical User
Mar 13, 2001
1
US
I am trying to create a script which will capture the init 6 / signal 15 shutdown in Solaris and send an email reporting that the Unix server has gone down.

I have created a script which looks for the Signal 15 entry in the /var/adm/messages file and sends an email when found - this works fine but it is exppensive. I would like to find a more elegant solution capturing the signal. Anyone have any ideas?

Cheers...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top