Last post Dec 25, 2005 07:48 AM by hpoon
Dec 15, 2005 09:54 AM|Ed_DeGagne|LINK
Dec 15, 2005 04:48 PM|Ed_DeGagne|LINK
Dec 16, 2005 10:18 AM|Ed_DeGagne|LINK
Dec 16, 2005 01:33 PM|iwonder|LINK
Actually, did download and install on my test workstation. It's working fine. Think maybe I was the first to download right after you posted. Anyway, sent my comments via the forums private messaging, as your original post indicated to send bugs, questions,
and comments directly to you, which I took to mean don't post them on this thread. Maybe others did that too.
Anyway, just to give you some feedback...
It's working fine, although on my test workstation, a local install of DNN, there is no server name being displayed. Not a biggie, but would be nice to have it display something besides Server:
Is there anyway to hook up a timer to this module so it updates the time stats? The times only refresh when browser is refreshed, which causes ugly postbacks.
Might be nice to include the Server Date Time start date.
Anyway, I'll download the new version and give you some time to mull over these little comments. All in all, it's working fine for a simple uptime purpose.
Dec 16, 2005 04:10 PM|Ed_DeGagne|LINK
Dec 17, 2005 03:08 PM|iwonder|LINK
Sent you an example that includes some code to get a boottime from the uptime calculated from a timespan. I know there are limitations to using timespan, but for my test stuff on workstations this will work fine. Other real world server implementations
need another way. This is just a quickie example, though that some may find useful.
Dim ts As TimeSpan
Dim BootTime As DateTime
Dim mins, hours, days, secs As Integer
Dim UpTime As String
ts = TimeSpan.FromMilliseconds(Environment.TickCount)
mins = ts.Minutes
hours = ts.Hours
days = ts.Days
secs = ts.Seconds
BootTime = DateTime.Now.Subtract(ts)
UpTime = "BootTime: " & BootTime & " - Server Uptime: " & ts.Days & " days, " & ts.Hours & " hours, " &
ts.Minutes & " minutes, " & ts.Seconds & " seconds"
Dec 19, 2005 09:38 AM|sherritp|LINK
Nice module--I was running a similar module from someone else on DNN2 and I've sorta missed it. Thanks for reviving it! This is a nice tool when you're running on a shared host to get a handle on how reliable the host really is!
Dec 23, 2005 03:45 PM|Ed_DeGagne|LINK
Dec 23, 2005 03:56 PM|Mariette|LINK
Dec 23, 2005 05:52 PM|Ed_DeGagne|LINK
Dec 24, 2005 08:56 AM|Ed_DeGagne|LINK
The other module on your site SVS - PageGenerated does not work, it generates an error and does not do anything. I have send an email to the hotmail address you use on this site.
Dec 24, 2005 09:05 AM|Mariette|LINK
That does not work: This is what happens
Dec 24, 2005 09:15 AM|Mariette|LINK
Dec 24, 2005 10:02 AM|Ed_DeGagne|LINK
I'll look into the skin object issue this weekend (after the holiday festivities).
The ServerStats module has a bigger issue with it (described above). The settings for the start date is already fixed, but I am waiting to release the new version pending a solution to the 49.8 day uptime limit with the Environment.TickCount property.
Give me a couple of days to get it right.
BTW, thanks for the testing and feedback.
Dec 25, 2005 07:48 AM|hpoon|LINK
Thanks for coming up with this useful module; a quick thought that it's somewhat a Christmas gifts to the DNN developers! (Salute also to all many others like you who come up with nice modules for our us!) I'm yet to download and test the module, as an
important feature has come to my mind...
Instead of the server uptime, could we extent it to become an availability indicator --- e.g. 99.96% since 12/12/2005.
I can foresee the challenge to have a table to store the server uptime and shutdown time (esp. to update the 'last shutdown' time after reboot since it may not be always possible to do the proper update just before shutdown, e.g. due to outage).
Hope my suggestion is not too 'wild' :) In any case, wish you and everyone here a Merry Christmas!