http://search.cpan.org/~burak/Sys-Info-Base-0.73/lib/Sys/Info/OS.pm#uptime
Sys::Info::OS has an uptime() method. On Thu, Dec 16, 2010 at 8:32 PM, Matt <[email protected]> wrote: > I have a perl script but I want to exit it if the uptime on the server > is less then say an hour. Any idea how I would get uptime with perl? > > -- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > http://learn.perl.org/ > > >
