Powerfailure daemon ??? (Help/inspiration needed)

Impedantzer EMP mds at iddth.id.dk
Thu Apr 11 22:41:35 AEST 1991


I am posting this request for help/inspiration on behalf of a friend
of mine with no connection to the network community. He is working in 
a company where they use a HP 375 Unix box for datalogging. It is
vital that the machine is shut down in a controlled manner (i.e. closing
all open files, etc.) in case of a powerfailure. For that reason they have an
UPS powersupply capable of keeping til machine going fore an hour or so.  
Well, so much for the background story.

Here comes the interesting part: they have the UPS but they *don't* have
the daemon to shut down the machine. Are there anybody out there 
with a similar system willing to share his/her knowledge with my 
friend? Perhaps a sample program og something like that. The general idea
is that the daemon reacts on an interrupt from the UPS.

-- Michael

PS. We don't have a system like the above mentioned here at the Dep. of CS,
so when the power goes it's gone!!

_________________________________________________________________________
Michael Dantzer-Sorensen              e-mail: mds at id.dth.dk
Department of Computer Science        Tel. +45 45 93 12 22 ext. 3761
Building 344 & 345                    Fax. +45 42 88 45 30
Technical University of Denmark
DK-2800 Lyngby
_________________________________________________________________________



More information about the Comp.unix.admin mailing list