项目处于维护模式,只修 bug 不加新功能;Docker 部署在部分系统配置下功能会有轻微限制;虚拟化隔离环境可能导致运行问题,推荐裸机安装
Status
dani3l0MIT更新放缓轻量级网页版 Linux 系统监控工具,专为小型家用服务器设计,在浏览器里就能查看 CPU、内存等运行状态。
Simple, lightweight, web-based system monitoring tool for small homeservers running Linux.
git clone https://github.com/dani3l0/Status && cd Status
python3 -m venv venv
source ./venv/bin/activate
pip3 install -r requirements.txt
python3 status.pyREADME 未说明具体硬件要求,仅说明可在多数台式机、迷你 PC 和树莓派上流畅运行,虚拟化隔离环境可能出问题
轻量级 Linux 小服务器系统监控工具,通过虚拟文件系统采集数据并用网页展示
轻量级网页版 Linux 系统监控工具,专为小型家用服务器设计,在浏览器里就能查看 CPU、内存等运行状态。
核心能力
- 读取 /sys、/proc 等虚拟文件系统获取系统信息
- 提供简洁的 Web 界面展示监控数据
- 支持命令行参数、环境变量、配置文件三种配置方式
- 提供 Docker 镜像,一条 docker-compose 命令即可启动
- 可在桌面机、迷你主机和树莓派上运行
容易踩的坑
暂无 release 数据(可能没有发版,或尚未同步)。
用户点评
登录用户的真实使用记录,可按版本和硬件筛选还没有人点评。第一个说出真实体验的人最有价值。
⚠️ Project in maintenance mode. This means no new features will appear, only bug fixes. For more info, see Announcement.
:thinking: What is it?
:information_source: Status is a simple, lightweight system monitoring app for small homeservers running Linux.
It utilizes virtual filesystems (like /sys, /proc etc.) to retrieve information and give it to end user via nice web interface.
:balance_scale: Status provides a good balance between power and simplicity.
:runner: Runs flawlessly on most desktop computers, mini PCs and Raspberry Pis. However, virtual isolated environments may cause problems.
:tv: Check the live demo! (but give it a while to load as Render suspends idle services)
Web UI
📱 iOS app by @JGeek00 - AppStore
:rocket: Installation
This will take you just a few seconds. It's up to you which one you choose :)
:hammer: Bare-metal
:heavy_check_mark: Recommended. Status has access to all virtual filesystems in your OS, which means more information and most reliable values.
:package: You can skip commands with (venv only) comment above if you already have python3-aiohttp distro package installed.
# Clone the repo
git clone https://github.com/dani3l0/Status && cd Status
# Prepare virtual environment in 'venv' dir (venv only)
python3 -m venv venv
# Use the virtual environment (venv only)
source ./venv/bin/activate
# Install required modules (venv only)
pip3 install -r requirements.txt
# Run Status!
python3 status.py
In a one combined command (like for systemd service), you can use this as ExecStart:
sh -c "source ./venv/bin/activate && python3 status.py"
:whale: Docker
It just works. Most of features should run without hassle, but depending on your OS configuration you may notice some minor limitations.
# Clone the repo
git clone https://github.com/dani3l0/Status && cd Status
# Build & run app
docker-compose up -d
App should be available on localhost:9090.
:wrench: Configuration
Status can be configured in multiple ways:
-
:desktop_computer: Command line arguments - the most important and will override everything.
-
:national_park: environment variables - will override configuration file.
-
:memo: configuration file - the least important, overrides default configuration only.
It's good not to mix them. Use --help for more information.
:pencil2: Config keys naming
Config keys are named slightly differently under different ways of configuration. Look at the table:
| in JSON config | Environment variable | Command line argument | |
|---|---|---|---|
| The rule | {section}.{key} | STATUS_{SECTION}_{KEY} | --{section}-{key} |
| Example #1 | server.port | STATUS_SERVER_PORT | --server-port |
| Example #2 | server.address | STATUS_SERVER_ADDRESS | --server-address |
| Example #3 | misc.debug | STATUS_MISC_DEBUG | --misc-debug |
Command line offers --config (or -c) to set custom config location.
Running Status with --no-config will neither read nor write any configuration file. Overrides --config.