View Full Version : script to check uptime
Albert
April 8th, 2004, 07:55
I am searching for simple script to check uptime. Preferred languages are bash, perl and python
nickc
June 7th, 2004, 10:55
Can't help with any of those I'm afraid but I might be able to come up with something in PHP if that helps.
Nick
Decker
June 7th, 2004, 13:33
Try http://www.siteuptime.com if it's for an internet server, they do a free option and pretty good and reliable :)
GregT
June 8th, 2004, 06:16
#!/usr/bin/perl
print "Content-Type: text/html\n\n\n";
print `uptime`;
That's the easy way. Just print the output of `uptime`.
Powered by vBulletin® Version 4.1.7 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.