There is no function, but you could shell out and grab the output from
the "uptime" command and use regex to parse the results....or use one
command line with uptime piped to awk to pull out what you need.

HTH!

--Sam

 

-----Original Message-----
From: Brad Ciszewski [mailto:[EMAIL PROTECTED] 
Sent: Monday, February 07, 2005 3:21 PM
To: php-general@lists.php.net
Subject: [PHP] Server Uptime

What is the function, or how do you make a script that displays the
server's uptime?

Thanks,

Brad Ciszewski
www.BradTechnologies.com Web Services

--
PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:
http://www.php.net/unsub.php

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to