Let me try to help a bit.
Instead of calculating your uptime, it's a bit easier to calculate the downtime.
The downtime calculation is something like this:-
D = Total downtime (in minutes)
T = Total time in the month (in minutes)
Downtime (in %) = D/T X 100
Example:
A site which has only 2 hours downtime in a 30-days month will have downtime % like the following :-
D = 2 X 60 minutes = 120 minutes
T = 30 days X 24 hours X 60 minutes = 43200 minutes
Downtime (in %)
= [120/43200] X 100
= 0.2777 %
Uptime (in %)
= 100 - 0.2777
= 99.7222 %
In other words, you have 99.722% of uptime throughout the month.
Hope this helps. 
|