whateverable icon indicating copy to clipboard operation
whateverable copied to clipboard

Report information about the bot itself

Open AlexDaniel opened this issue 9 years ago • 2 comments

It would be nice to have some universal command for all bots that would give information like:

  • What rakudo version this bot is running on
  • Uptime?
  • Memory usage?

What would be the best name for the command? status? info? what's up?

AlexDaniel avatar Apr 25 '17 22:04 AlexDaniel

So we have uptime command now, what else do we need? We also have dc4ac484d0e650162db29d3d14c93134210134bb which implemented gists that include the output of git diff HEAD.

AlexDaniel avatar Jul 22 '17 02:07 AlexDaniel

I don't think there were any requests for more info to be printed. Here's what it says now:

<AlexDaniel> unicodable6: uptime <unicodable6> AlexDaniel, 1 week, 1 day, 23 hours, 29 minutes, and 38 seconds, 469.183594MiB maxrss. This is Rakudo version 2018.04.1-118-g2f4b2f428 built on MoarVM version 2018.04.1-121-gd634d24cf implementing Perl 6.c.

I think we simply need a test for uptime. It should go somewhere around here (so that all bots are tested).

AlexDaniel avatar Jun 02 '18 20:06 AlexDaniel