← すべてのガイド
Glances
A cross-platform, real-time system monitoring tool (CPU, RAM, disk, network, sensors, Docker containers) with both a terminal UI and an optional web interface.
対象: Any Docker host (native installers also available for Linux/Windows/MacOS)monitoringsystem-resourcesCLI公式ホームページ ↗公式ドキュメント ↗
このガイドは上記リンク先にあるGlances公式ドキュメントをもとに作成されています。ディストリビューションやプロジェクトのバージョンは時間とともに変わるため、本番サーバーでこれらのコマンドを実行する前に、必ず公式ドキュメントで正確なパッケージ名・バージョン名を確認してください。
1Run Glances in web-server mode
The -w flag serves a browser-accessible dashboard instead of (or alongside) the terminal UI.
docker run -d \ --name glances \ --pid host \ --network host \ -v /var/run/docker.sock:/var/run/docker.sock:ro \ -e GLANCES_OPT="-w" \ --restart unless-stopped \ nicolargo/glances:latest2Open the web dashboard
http://your-server-ip:612083(Alternative) run it directly in a terminal
Installed natively via pip, Glances gives an htop-like live view with far more detail (per-process I/O, sensors, Docker stats) in one screen.
pip install glancesglances