nicolargo/glances

Glances an Eye on your system. A top/htop alternative for GNU/Linux, BSD, macOS and Windows operating systems.

View on GitHub ↗Jump to charts ↓

Summary Information

Updated 30 minutes ago
Added to GitGenius on May 16th, 2023
Created on December 4th, 2011
Open Issues & Pull Requests: 107 (+0)
Number of forks: 1,795
Total Stargazers: 33,417 (+0)
Total Subscribers: 495 (+0)

Repository Insights (GitGenius)

Median issue/PR response: 2.9 days
Mean response time: 488.3 days
90th percentile: 1984.8 days
Tracked items: 600

How this project is maintained

Around half of the issues opened in the past year never receive a reply. 46% of open issues come from outside the core team, a mix of external reports and the maintainers' own roadmap. Work labelled "regression" is answered fastest, typically in about 4 hours, while "needs more info" waits about 20 months. Only 5% of issues opened in the past year have been closed. Three people close 93% of everything that gets resolved.

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 93
New in 7 days: 3
Closed in 7 days: 5
Avg open age: 1,015 days
Stale 30+ days: 80
Stale 90+ days: 64

Recent activity

Opened in 7 days: 3
Closed in 7 days: 5
Comments in 7 days: 3
Events in 7 days: 31

Top labels

  • bug (477)
  • enhancement (359)
  • needs discussion (159)
  • new feature (152)
  • needs test (139)
  • inactive (113)
  • needs more info (100)
  • needs contributor (93)

Detailed Description

Glances is a cross-platform system monitoring tool written in Python that serves as a modern alternative to traditional utilities like top and htop. It provides real-time monitoring of CPU, memory, disk, and network usage across GNU/Linux, BSD, macOS, and Windows operating systems. The tool displays system information in an easy-to-read dashboard format and extends beyond basic resource monitoring to include process tracking, logged-in users, temperature readings, voltages, and fan speeds. It also supports container monitoring for Docker and LXC systems.

The project shares contributors with major repositories including microsoft/vscode, microsoft/typescript, and rust-lang/rust.

Glances operates in multiple modes to suit different use cases. The standalone terminal mode provides immediate system monitoring by running a single command. The web server mode exposes a responsive web interface accessible at a configurable port and includes a RESTful API for programmatic access. The tool supports client-server architecture using XML-RPC for remote monitoring via terminal interfaces. A browser mode allows discovery and monitoring of multiple Glances servers across a network. Additionally, Glances can output raw statistics to stdout in plain text, CSV, or JSON formats, enabling integration with other tools and scripts.

The tool includes a fetch mode for quick system snapshots and supports an MCP server for integration with AI assistants like Claude and Cursor, available in version 4.5.1 and higher. Glances can be used as a Python library by importing the glances.api module, allowing developers to programmatically access system metrics through a GlancesAPI class that provides access to all plugins and their fields.

Export capabilities are extensive, supporting multiple destinations including CSV and JSON files, time-series databases like InfluxDB, ElasticSearch, PostgreSQL, Cassandra, ClickHouse, and Prometheus, message brokers including RabbitMQ, NATS, ZeroMQ, and Kafka, and other services like StatsD, Graphite, and RESTful endpoints.

Installation is straightforward through PyPI using pip, with optional feature bundles available for web interface, GPU monitoring, container support, sensors, RAID, SNMP, and other specialized functionality. The project also supports installation via uvx for immediate execution without manual setup. The codebase is built on an open architecture allowing developers to create custom plugins and export modules, making Glances highly extensible for specific monitoring needs.