SIGPWR signal in system v

Paul Hite paul at prcrs.prc.com
Tue May 7 02:23:01 AEST 1991


In article <1991May6.112253.5344 at cs.tcd.ie>, ohurley at cs.tcd.ie (Oisin Hurley) writes:
> 
> Does anybody out there have information on the SYS V SIGPWR signal? The man
> says that this signal occurs if there's a power failure. 

Well, I have only seen one system, the HP 9000/800, that uses this.  The 800's
have a battery back-up that keeps main memory (only) alive while power is out.
(The battery is optional on some models.)  If power is restored before the 
battery dies, the system will recover.  First, some special entries in 
inittab get executed:
	pf::powerwait:/etc/powerfail >/dev/console 2>&1 #power fail routines

This reloads software into smart cards on our system.  After this is done,
SIGPWR is sent to every process, but the default on SIGPWR is to ignore it.
vi (for one) will catch the signal and repaint the screen.

Paul Hite   PRC Realty Systems  McLean,Va   paul at prcrs.prc.com    (703) 556-2243
        You can't tell which way the train went by studying its tracks.



More information about the Comp.unix.internals mailing list