https://github.com/vitroid/loadreporter
A small daemon to report the current load average via http.
https://github.com/vitroid/loadreporter
Last synced: 12 months ago
JSON representation
A small daemon to report the current load average via http.
- Host: GitHub
- URL: https://github.com/vitroid/loadreporter
- Owner: vitroid
- Created: 2023-01-09T15:55:21.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2025-07-03T08:03:23.000Z (about 1 year ago)
- Last Synced: 2025-07-03T09:20:08.765Z (about 1 year ago)
- Language: Python
- Size: 44.9 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# LoadReporter
計算機負荷をzeroconfで提供するデーモン
## クイックインストール
```bash
# PyPIからインストール(推奨)
pip install loadreporter
# ワンライナーでインストール(systemdサービスとして)
curl -sSL https://raw.githubusercontent.com/vitroid/loadreporter/main/install.sh | sudo bash
# より簡単なワンライナー(直接実行)
curl -sSL https://raw.githubusercontent.com/vitroid/loadreporter/main/install.sh | sudo bash -s
# または、手動でインストール
git clone https://github.com/vitroid/loadreporter.git
cd loadreporter
make install
```
## 使用方法
```bash
# 直接実行
python3 -m loadreporter.api
# または
loadreporter
# systemdサービスとして
sudo systemctl start loadreporter
sudo systemctl status loadreporter
```
## API
- `GET /v1/info` - システム情報を取得
## トラブルシューティング
サービスが起動しない場合は、ログを確認してください:
```shell
sudo journalctl -u loadreporter
```