Albert New Member Apr 8, 2004 #1 I am searching for simple script to check uptime. Preferred languages are bash, perl and python
N nickc New Member Jun 7, 2004 #2 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
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 Officially Old! NLC Jun 7, 2004 #3 Try http://www.siteuptime.com if it's for an internet server, they do a free option and pretty good and reliable
Try http://www.siteuptime.com if it's for an internet server, they do a free option and pretty good and reliable
GregT Waffles!! NLC Jun 8, 2004 #4 Code: #!/usr/bin/perl print "Content-Type: text/html\n\n\n"; print `uptime`; That's the easy way. Just print the output of `uptime`.
Code: #!/usr/bin/perl print "Content-Type: text/html\n\n\n"; print `uptime`; That's the easy way. Just print the output of `uptime`.