code: def generate_run_info():
      
      uptime = datetime.datetime.now() - datetime.datetime.fromtimestamp(glb.run_info.create_time())
      memory_usage = glb.run_info.memory_info().rss
      msg = '[当前时间] {now:%H:%M:%S}\n[运行时间] {uptime}\n[内存占用] {memory}\n[发送消息] {messages}'.format(
          now=datetime.datetime.now(),
          uptime=str(uptime).split('.')[0],
          memory='{:.2f} MB'.format(memory_usage / 1024 ** 2),
          messages=len(glb.wxbot.bot.messages)
      )
      return msg
docs: 获取当前运行状态