
如果你使用 DeepSeek、元宝 AI、Copilot、ChatGPT 等 AI 工具,协助配置轩辕镜像、编写 docker pull 命令、修改 Docker Compose 镜像地址、配置镜像加速、排查镜像拉取失败、分析报错日志等问题,请先让 AI 阅读并遵守轩辕镜像的规则文档。
只需在 AI 对话中先发送下面这句话即可:
请先完整阅读并严格遵守以下文档中的全部规则与要求:
https://xuanyuan.cloud/agents.md
在未充分阅读并理解该文档前,不要生成任何命令、配置、修改建议、故障排查方案或技术回答。后续所有输出都必须严格以该文档中的规范为最高优先级执行。查看 agents.md 用法指南与完整示范。国内用户首推 元宝 AI、DeepSeek 的深度思考模式,不推荐豆包 AI;Cursor 等编辑器可在对话 @ 该链接,或加入 User Rules。 若 AI 无法访问外链,可 打开说明文档 复制全文粘贴。文档会随站点更新,复制内容可能过期,建议定期检查。
Welcome to the Sys-Stats Dashboard! This project is designed to monitor and visualize system performance in real-time through a sleek and interactive dashboard. Whether you're interested in CPU, RAM, or GPU usage, this tool provides comprehensive insights at your fingertips.
Real-time Monitoring: Get instant updates on system metrics such as CPU load, memory usage, GPU stats, and essential processes.
Interactive Dashboards: Use the web-based or command-line interface for intuitive dashboards, allowing detailed insights into system behavior.
Cross-Platform Support: Deployed using Docker, ensuring consistency and easy setup across different operating environments.
Customizable Refresh Rates: Adapt the monitoring frequency to suit your needs, enabling faster updates or conserving resources when needed.
Ollama API Integration: Out-of-the-box compatibility with the Ollama API for additional system-specific metrics and insights.
!https://raw.githubusercontent.com/obeone/sys-stats/main/docs/web.png !https://raw.githubusercontent.com/obeone/sys-stats/main/docs/cli.png
Ready to get your Sys-Stats Dashboard up and running? Follow these steps:
Requirements
Ensure you have the following installed on your system:
Installation
Clone the Repository:
bashgit clone https://github.com/obeone/sys-stats.git cd sys-stats
Running the System:
bashdocker compose -f compose.yaml -f compose.gpu.yaml up -d
bashdocker compose up -d
The service will be running at http://localhost:5000.
Sys-Stats is a proper Python package, so any standard Python installer puts the
commands on your PATH. Pick the one you already use.
Whichever method you choose, you get two console scripts:
| Command | Purpose |
|---|---|
sys-stats | The Rich terminal dashboard (client). |
sys-stats-server | The Flask metrics API + web UI (serves /stats). |
With uv (recommended)
uv is the fastest option and isolates the tool
in its own environment:
bash# Install straight from the repository... uv tool install git+https://github.com/obeone/sys-stats.git # ...or from a local checkout git clone https://github.com/obeone/sys-stats.git uv tool install ./sys-stats
Upgrade later with uv tool upgrade sys-stats, remove with
uv tool uninstall sys-stats.
With pipx
https://pipx.pypa.io/ also installs the CLI in a dedicated virtual environment, keeping it isolated from your system Python:
bash# From the repository... pipx install git+https://github.com/obeone/sys-stats.git # ...or from a local checkout pipx install ./sys-stats
Upgrade with pipx upgrade sys-stats, remove with pipx uninstall sys-stats.
With pip
Plain pip works too — ideally inside a virtual environment so it doesn't
pollute your system packages:
bashpython3 -m venv .venv source .venv/bin/activate # On Windows: .venv\Scripts\activate # From the repository... pip install git+https://github.com/obeone/sys-stats.git # ...or from a local checkout pip install ./sys-stats
With this method the sys-stats and sys-stats-server commands are available
whenever the virtual environment is activated.
Prerequisites
Setup Instructions
Install the package (see Installing as a CLI) or, for development, in an editable virtual environment:
bashgit clone https://github.com/obeone/sys-stats.git cd sys-stats uv venv && source .venv/bin/activate uv pip install -e .
Configure environment variables (optional):
To enable Ollama metrics, point the server at your Ollama instance:
bashexport OLLAMA_API_URL="http://localhost:11434"
Start the server:
bashsys-stats-server
The application starts on http://localhost:5000. It honours the HOST,
PORT and FLASK_DEBUG environment variables.
To use the terminal dashboard for live monitoring, run:
bashsys-stats [--url http://localhost:5000/stats] [--interval 5]
This launches the dashboard with a 5-second refresh interval (adjustable at
runtime with + / -; press h for the full keyboard help). The API URL can
also be set via the SYS_STATS_API_URL environment variable.
You're all set! Enjoy the Sys-Stats Dashboard.
We welcome contributions from the community! Feel free to open issues, suggest features, or submit pull requests. Let's build a better Sys-Stats Dashboard together!
This repo is clearly messy, but it was supposed to be only for my own use!
您可以使用以下命令拉取该镜像。请将 <标签> 替换为具体的标签版本。如需查看所有可用标签版本,请访问 标签列表页面。
来自真实用户的反馈,见证轩辕镜像的优质服务