John Summerfield wrote:
Where would I find the mon package? It doesn't seem to be part of the normal FC4 set.Kaushal Shriyan wrote:"signal" is a technical term un Unix with a meaning different from what I think you mean.Hi ALL How do I capture SIGNALS on Linux Box using a script means to say thatYou can use a package called "mon" to monitor services (including on other systems) to see what's running and to detect problems.my Linux box is up or down or rebooted or crashed so that it will send a mail to me saying that the machine is down or rebootedTo detect when a system's rebooted, just add a script to /etc/init.d (use others as a guide) to send you email when it's run. Don't forget to enable it using chkconfig.
-- ------------------------------------------------------------------------------- "The two most common things in the | Bill Perkins universe are Hydrogen and Stupidity." | perk iag net | programmer-at-large F. Zappa | ALL assembly languages done here. -------------------------------------------------------------------------------