| Author |
Topic Search Topic Options
|
huwnet
Senior Member
Joined: 30 May 2003
Location: England
Status: Offline
Points: 1375
|
Post Options
Thanks(0)
Quote Reply
Topic: Uptime script Posted: 10 April 2004 at 8:15am |
|
Does anyone know of an uptime script in asp/asp.net?
I know devjunkies.com has a server uptime in days, hours etc. However I
need a script that will tell me the percent of uptime my server has had!
|
 |
Mart
Senior Member
Joined: 30 November 2002
Status: Offline
Points: 2304
|
Post Options
Thanks(0)
Quote Reply
Posted: 10 April 2004 at 8:21am |
|
You would have to search for a service to do that. Simply because the server cannot count when its not up because its probably switched off and being repaired.
|
 |
michael
Senior Member
Joined: 08 April 2002
Location: United States
Status: Offline
Points: 4670
|
Post Options
Thanks(0)
Quote Reply
Posted: 10 April 2004 at 10:17am |
I doubt you are able to install your own components but here is one: http://www.smartad.biz/muttok/uptime/
|
|
|
 |
Mart
Senior Member
Joined: 30 November 2002
Status: Offline
Points: 2304
|
Post Options
Thanks(0)
Quote Reply
Posted: 10 April 2004 at 10:19am |
|
No, he wants the percentage uptime not total uptime.
|
 |
MadDog
Mod Builder Group
Joined: 01 January 2002
Status: Offline
Points: 3008
|
Post Options
Thanks(0)
Quote Reply
Posted: 10 April 2004 at 10:41am |
|
You could write something into the global.asa file that counted how long the server has been up. After a server has been restarted or reset the global.asa file is reset, so that could tell you the last time the server was shut down.
|
|
|
 |
michael
Senior Member
Joined: 08 April 2002
Location: United States
Status: Offline
Points: 4670
|
Post Options
Thanks(0)
Quote Reply
Posted: 10 April 2004 at 12:25pm |
|
Yeah but in his case, it does not know how long the server has been down. I suspect he wants to calculate what the uptime/month is, maybe he wants to show his hosting company that they fall below their promised 98% or so... There are external services that constantly monitor a server, it is clsoe to impossible to do, even with .net doing it on the same server. You never know how long a server is down, unresponsive etc.
|
|
|
 |
dpyers
Senior Member
Joined: 12 May 2003
Status: Offline
Points: 3937
|
Post Options
Thanks(0)
Quote Reply
Posted: 10 April 2004 at 12:48pm |
|
Note that a server may be "up", but particular services may be down or in restart- e.g. http, asp, ftp, email, sql server, etc.
|
Lead me not into temptation... I know the short cut, follow me.
|
 |
huwnet
Senior Member
Joined: 30 May 2003
Location: England
Status: Offline
Points: 1375
|
Post Options
Thanks(0)
Quote Reply
Posted: 10 April 2004 at 1:37pm |
Looks good but I can't do the percent of uptime.
|
 |