1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Uptime script in ASP?

Discussion in 'C#' started by Mailman, Jul 11, 2006.

  1. #1
    do anyone know a link or can paste an asp uptime script i can use for my windows 2003 Server?

    i only have (Se below) wic i wrote, but it starts to count backwards after 24 day's :<


    Dim strUptime

    Set objUptime = Server.CreateObject("smartUptime.myUptime")
    objUptime.intMetode = 1

    ' Long Uptime
    ' 1 = "3 days, 19 hours, 1 minutes and 10 seconds"

    ' Short Uptime
    ' 2 = "3d, 19h, 1m, 10s"

    strUptime = objUptime.strUtskrift
    Set objUptime = Nothing

    Response.Write strUptime
    %>
     
    Mailman, Jul 11, 2006 IP
  2. Mailman

    Mailman Peon

    Messages:
    6
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    noone knows?
     
    Mailman, Jul 14, 2006 IP
  3. jaymcc

    jaymcc Peon

    Messages:
    139
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    0
    #3
    What 'up time' are you measing? Server up time, or website, or application?

    I'm not sure what this component does, is it reading system info?

    Let me know what your objective is, specifically.

    J
     
    jaymcc, Jul 14, 2006 IP
  4. Mailman

    Mailman Peon

    Messages:
    6
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    hey, im talking about server uptime.

    this is supposed to read system info yes. but as i said after 24 day's it satrts counting backwards.
     
    Mailman, Jul 15, 2006 IP