


POWERD(8)	   Linux Programmer's Manual		POWERD(8)


NNAAMMEE
       powerd - monitor the DCD line of a serial port.

SSYYNNOOPPSSIISS
       //bbiinn//ppoowweerrdd _s_e_r_i_a_l _d_e_v_i_c_e
       For example, //bbiinn//ppoowweerrdd _/_d_e_v_/_c_u_a_3

DDEESSCCRRIIPPTTIIOONN
       PPoowweerrdd  monitors	the  DCD line of a serial port to detect
       power failures.	If the power goes down, it notifies  iinniitt
       by    writing	the    message	"_F_A_I_L"	to   the   file
       _/_e_t_c_/_p_o_w_e_r_s_t_a_t_u_s.  When the power is back up, it	notifies
       iinniitt   by   writing   the   message   "_O_K"   to	the  file
       _/_e_t_c_/_p_o_w_e_r_s_t_a_t_u_s.  Power is considered to  fail	when  the
       DCD  line goes "_H_I_G_H", and to be back up when the DCD line
       goes "_L_O_W".  You can connect DCD and DTR with  a	10  kOhm
       resistor.

NNOOTTEESS
       Originally  written  for	Cistron  Electronics,	who  have
       kindly given permission to release the program.

AAUUTTHHOORR
       Miquel van Smoorenburg, miquels@drinkel.nl.mugnet.org

































			   July 4, 1993				1


