Favicon of Glances

Glances

Monitor system resources like CPU, memory, and disk I/O across any platform. Access real-time data from a terminal, a web UI, or a powerful REST API.

Get a detailed, real-time view of your system's performance with this versatile monitoring tool. Written in Python, it runs on virtually any platform, including GNU/Linux, FreeBSD, OS X, and Windows. Whether you prefer a classic terminal interface, a convenient built-in web UI, or programmatic access via a RESTful JSON API, this tool provides the flexibility you need to keep an eye on your infrastructure from anywhere.

It offers a wide range of monitoring capabilities, including:

  • Core Metrics: CPU, Memory, Load, and Process lists.
  • I/O and Hardware: Network interfaces, Disk I/O, and hardware sensors.
  • Modern Infrastructure: Filesystem usage and support for Docker and Podman containers.
  • Alerting: Set up alerts to be notified of critical system events.

One of its standout features is the ability to export statistics to numerous backends. You can easily send your system data to InfluxDB, Cassandra, ElasticSearch, or StatsD, and visualize it using the provided Grafana dashboard.

Directory Structure

glances
config
.env
docker-compose.yml

docker-compose.yml

services:
  glances:
    image: nicolargo/glances:latest-full
    container_name: glances
    pid: host
    ports:
      - "61208-61209:61208-61209"
    environment:
      - GLANCES_OPT=-w
    volumes:
      - /var/run/docker.sock:/var/run/docker.sock:ro
      - ./config:/glances/conf
    restart: unless-stopped

.env

# Glances does not require any sensitive environment variables by default.
# If you wish to add basic authentication, you can modify GLANCES_OPT in docker-compose.yml
# to include: -w --username ${GLANCES_USER} --password ${GLANCES_PASSWORD}
# and define those variables here.

Share:

Ad
Favicon

 

  
 

Similar to Glances

Favicon

 

  
  
Favicon

 

  
  
Favicon