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" ?> 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! Link to comment https://forums.phpfreaks.com/topic/117986-uptime-percentage/#findComment-607003 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.