explaingit

nicolargo/glances

Analysis updated 2026-06-20

32,439PythonAudience · ops devopsComplexity · 2/5Setup · easy

TLDR

Glances is a terminal dashboard that shows CPU, memory, disk, network, and process stats for your computer or a remote server in real time, with optional web UI, REST API, and export to Grafana or InfluxDB.

Mindmap

mindmap
  root((glances))
    What it does
      System monitoring
      Real-time dashboard
      Remote monitoring
    Modes
      Standalone terminal
      Client and server
      Web interface
      REST API
    Exports
      InfluxDB
      Prometheus
      CSV
      JSON
    Tech Stack
      Python
      Plugin architecture
    Audience
      Sysadmins
      DevOps engineers
Click or tap to explore — scroll the page freely

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

What do people build with it?

USE CASE 1

Monitor a remote Linux server over SSH with a rich dashboard showing more detail than top or htop.

USE CASE 2

Export live system metrics from a server into InfluxDB and display them in a Grafana dashboard.

USE CASE 3

Use the built-in web interface to check server health from a browser without needing SSH access.

USE CASE 4

Query system stats programmatically via the REST API or MCP endpoint from scripts or AI assistants.

What is it built with?

Python

How does it compare?

nicolargo/glancestinygrad/tinygradopen-mmlab/mmdetection
Stars32,43932,50132,533
LanguagePythonPythonPython
Setup difficultyeasyhardhard
Complexity2/55/54/5
Audienceops devopsresearcherresearcher

Figures from each repo's GitHub metadata at analysis time.

How do you get it running?

Difficulty · easy Time to first run · 5min

Installs via pip, optional export plugins like InfluxDB require additional Python packages.

In plain English

Glances is a system monitoring tool, an alternative to the classic top and htop commands, that gives you a real-time view of what is happening on your computer or server. It shows CPU usage, memory consumption, disk activity, network traffic, running processes, temperatures, fan speeds, and more, all in a single dashboard that fits your terminal window and automatically adapts to the available screen size. What sets Glances apart from basic tools like top is its range of operation modes. In standalone mode, you run it locally and see your own machine's stats. In client/server mode, you can point it at a remote machine over the network and monitor it from your terminal. It also has a web interface mode where it starts a small HTTP server and displays the same dashboard in any browser at the machine's IP address. A RESTful API comes included, so you can query stats programmatically from other tools or scripts. Recent versions also expose an MCP server endpoint, which lets AI assistants query system state directly. Beyond display, Glances can export its data continuously to external systems, including time-series databases like InfluxDB and Prometheus, CSV files, and directly to standard output in JSON format, which makes it useful as a data source for dashboards like Grafana or for automated alerting systems. It supports monitoring Docker and LXC containers alongside regular processes. You would use Glances when you want a quick, comprehensive view of what a Linux, macOS, BSD, or Windows system is doing, especially over SSH on a remote server where you want more information than top provides without setting up a full monitoring stack. It installs via pip, runs as a Python application, has a plugin architecture for adding custom metrics, and can also be used as a Python library in your own code.

Copy-paste prompts

Prompt 1
I want to monitor a remote server with Glances in client/server mode. Walk me through installing Glances on the server and connecting to it from my laptop.
Prompt 2
Show me how to configure Glances to export CPU and memory metrics to InfluxDB every 10 seconds so I can graph them in Grafana.
Prompt 3
I want to check my server's stats from a browser. How do I start Glances in web server mode and access the dashboard remotely?
Prompt 4
Write a Python script that queries Glances' REST API to get current CPU and memory usage and print an alert if either exceeds 80%.

Frequently asked questions

What is glances?

Glances is a terminal dashboard that shows CPU, memory, disk, network, and process stats for your computer or a remote server in real time, with optional web UI, REST API, and export to Grafana or InfluxDB.

What language is glances written in?

Mainly Python. The stack also includes Python.

How hard is glances to set up?

Setup difficulty is rated easy, with roughly 5min to a first successful run.

Who is glances for?

Mainly ops devops.

Open on GitHub → Explain another repo

This repo across BitVibe Labs

Scan in gitsafehub Deploy in gitdeployhub nicolargo on gitmyhub

Verify against the repo before relying on details.