zackcez Posted August 3, 2008 Share Posted August 3, 2008 I'd like to know how I can make a simple fsock return a server uptime percent likewise: http://e-topbiz.com/trafficdemos/server1/results.php Here's my current code : <? $fp = fsockopen("localhost", "3306", $err_no, $err_msg, 10) or die ("$err_msg"); echo "MySql Server Online" ?> Quote Link to comment https://forums.phpfreaks.com/topic/117986-uptime-percentage/ Share on other sites More sharing options...
MadTechie Posted August 3, 2008 Share Posted August 3, 2008 Surely your check it every hour or so and then workout the percentage of up time! Quote Link to comment https://forums.phpfreaks.com/topic/117986-uptime-percentage/#findComment-607003 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.