Server Uptime ?

Results 1 to 3 of 3
  1. #1
    Proficient Member ObsCureParty is offline
    MemberRank
    Jul 2011 Join Date
    157Posts

    Server Uptime ?

    HEY ALL !!

    i need server uptime code, where i can have it ?:p
    i want to put something like: (Server up from "months", "days" "hours" "minutes" ).

    can u help me ?
    thnx!


  2. #2
    Just me AncestraL is offline
    MemberRank
    May 2012 Join Date
    ArgentinaLocation
    274Posts
    Quote Originally Posted by ObsCureParty View Post
    HEY ALL !!

    i need server uptime code, where i can have it ?:p
    i want to put something like: (Server up from "months", "days" "hours" "minutes" ).

    can u help me ?
    thnx!
    Search for php tempo or counter on google. Its very simple :)

    Sent from my slow Samsung GT I9100

  3. #3
    Kingdom of Shadows [RCZ]ShadowKing is offline
    MemberRank
    Jul 2007 Join Date
    1,644Posts

    Re: Server Uptime ?

    If you're running on windows you will need to execute some shell code and parse it via php.

    On windows 2008 server x32 enterprise I used this code "systeminfo | find "Time"".

    Output is like
    Code:
    System Boot Time:          8/6/2012, 7:59:29 AM



Advertisement