MirrorNest
← Alle Anleitungen

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.

Zielsystem: Any Docker host (native installers also available for Linux/Windows/MacOS)monitoringsystem-resourcesCLIOffizielle Website ↗Offizielle Dokumentation ↗
Diese Anleitung basiert auf der offiziellen Dokumentation von Glances, oben verlinkt — überprüfe dort immer die genauen Paket-/Versionsnamen, bevor du diese Befehle auf einem Produktionsserver ausführst, da sich Distributions- und Projektversionen mit der Zeit ändern.
  1. 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:latest
  2. 2Open the web dashboard

    http://your-server-ip:61208
  3. 3(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 glances
    glances