Menu

#47 !UPTIME something's wrong

none
invalid
nobody
None
normal
2014-05-13
2014-05-13
No

This might be minor or even there isn't any bug at all ... needs more testing.
- Today's local date/time of running commands : May,13 2014 19:20

... 17 days? :

<BotUser> !UPTIME
<DB> Uptime:  19:20:52 up 17 days,  2:44,  4 users,  load average: 0.00, 0.01, 0.05.

... time spam from compile to today's date = 20 days counting compiling day and today:

<BotUser> !INFO2
<DB> Compiled on Apr 24 2014. I have processed 495 lines of text since startup...

...
... time running since last connection to the sercver: 4 hours, 25 mins :

BotUser> !INFO
<DB> Running Darkbot 8rc4. I have 10 topics in my database, Uptime: 4 hours, 25 mins, There have been 0 questions asked, 0 topic additions, and 0 topic deletions, since I connected. Process time: 0.0001 secs

17 days could/should be the time the bot was actively online. I don't recall having it offline since compile time.

Discussion

  • Luiz Castelo-Branco

    • Description has changed:

    Diff:

    --- old
    +++ new
    @@ -1,5 +1,5 @@
     This might be minor or even there isn't any bug at all ... needs more testing.
    -- Today's local date/time of running commands : May,13 2014 19:21
    +- Today's local date/time of running commands : May,13 2014 19:20
    
     ... 17 days? :
    
     
  • Jared Smith

    Jared Smith - 2014-05-13

    This is the system(unix) uptime not the bot uptime. To see the darkbots uptime you would use the info command.

    juice

     

    Last edit: Jared Smith 2014-05-13
  • Luiz Castelo-Branco

    Tks Jared.

    My head can't make more that this at this time:

    Time reported by the command: 17 days, 2:44
    17 days, 2:44 = 24644 minutes

    Time at command testing: 5/13/2014 07:20:52 PM

    Unix time interval:
    Total time between 1/1/1970 and 5/13/2014 07:20:52 PM:
    16203 Days, 19 Hours, 20 Minutes, 52 Seconds
    2,314.83 weeks
    16,203.81 days
    388,891.35 hours
    23,333,480.87 minutes
    1,400,008,852.00 seconds

    I'm not sure where any of those fits on the UPTIME.
    Yes, I know there is still the Time Zone Offset which is UTC +1 but indeed my head can't handle it now. Probably after a good dinner and a night sleep ;)

     
  • Jared Smith

    Jared Smith - 2014-05-13

    I mean it is the same thing as performing uptime on the linux command line. Linux, unix, BSD etc.It is the uptime of the server or machine running darkbot.

    Jared

     
  • Luiz Castelo-Branco

    Ahh I see, you're right. My bad - I didn't read well the command info or I didn't read at all.
    "Displays information about Darkbot's unix computer time, system's uptime in days hours and minutes, how many users logged in the shell and load averages. "
    "Shows the uptime statistics for the computer the bot is running on."

    I'll mark this as invalid.
    2 points for you :p

     
  • Luiz Castelo-Branco

    • labels: UPTIME -->
    • status: new --> invalid
     

Log in to post a comment.