实时监控服务器资源使用情况,支持多平台运行,提供清晰的系统状态报告。
从Meg的文本式报告升级而来⬇️
# 克隆仓库到插件目录
cd /AstrBot/data/plugins
git clone https://github.com/yanfd/astrbot_plugin_server.git
# 控制台重启AstrBot
- 图像化实时 CPU/内存/磁盘/网络监控
/状态查询 或 /status
示例输出:
- Linux 系统需安装基础工具:
sudo apt-get install procps sysstat jinja2 psutil jinja2 PIL requests matplotlib
#或者使用pip
pip install psutil jinja2 PIL requests matplotlib
- 首次使用需授予执行权限
- 推荐监控间隔 ≥ 60 秒
- Fork 本仓库
- 创建新分支 (
git checkout -b feature/awesome-feature
) - 提交修改 (
git commit -m 'Add some feature'
) - 推送更改 (
git push origin feature/awesome-feature
) - 创建 Pull Request
本项目采用 MIT License