On 2/1/07, <b class="gmail_sendername">Jon Gough</b> &lt;<a href="mailto:jon.gough@eclipsesystems.com.au">jon.gough@eclipsesystems.com.au</a>&gt; wrote:<div><span class="gmail_quote"></span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">

<div>
<font size="3">&nbsp;&nbsp; What I want to do is run the T&lt;n&gt;&nbsp; command to
have it test for a different length of time than the standard 10 secs.</font></div></blockquote><div><br><br>Some UPSes support a &quot;TL&quot; command, which starts a test until the unit hits &quot;low battery&quot;. This test can be canceled by a &quot;CT&quot; command (&quot;C&quot; probably kills it too, but it kills a pending shutdown too).
<br>&nbsp;</div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div><font size="3"> If
I can get this to work then I can send other commands to setup the UPS
correctly, ie wait 10 mins after loss of power before shutting servers
down, but make sure there is 2 mins of power left to allow for shut down
to occur. </font></div></blockquote><div><br><br>What are you trying to do again? With the &quot;megatec&quot; driver talking with your UPS using the megatec-over-usb patch you can already do this with NUT (using &quot;upssched&quot;), although I don&#39;t think relying on time intervals is such a good idea.
<br></div></div><br clear="all"><br>-- <br>Carlos Rodrigues