MirrorNest
← Todos os guias

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.

Destino: Any Docker host (native installers also available for Linux/Windows/MacOS)monitoringsystem-resourcesCLISite oficial ↗Documentação oficial ↗
Este guia foi elaborado a partir da documentação oficial do Glances, ligada acima — verifique sempre lá os nomes exatos dos pacotes/versões antes de executar estes comandos num servidor de produção, uma vez que as versões da distribuição e do projeto mudam com o tempo.
  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