glances icon

glances

Glances is a cross-platform, open-source system monitoring tool providing a comprehensive overview of system resources and processes directly from the command line or web interface. Written in Python, it is highly portable and extensible, offering a wealth of information in a dynamic and user-friendly format.

Nicolas Hennion

License

Open Source

Platforms

Mac OS X Windows Linux BSD

About glances

Glances offers comprehensive system monitoring capabilities presented in a clear and dynamic command-line interface or a web dashboard. Designed for system administrators, developers, and users who need detailed insights into their system's health and performance, Glances supports a wide array of platforms, including Linux, macOS, Windows, and FreeBSD.

Key functionalities include:

  • Real-time Resource Monitoring: Provides instantaneous data on CPU usage, memory (RAM, Swap), disk I/O, network activity, and sensor data (temperature, fan speed).
  • Process Management: Displays a detailed list of running processes, allowing sorting and filtering based on resource consumption (CPU, memory) and offering options to kill or renice processes.
  • Filesystem Monitoring: Tracks disk space usage for mounted filesystems, highlighting potential storage bottlenecks.
  • Network Statistics:

    Monitors network interfaces, showing transfer rates, packet counts, and potential errors. Includes monitoring for various network protocols and services.

  • Sensor Integration: Provides access to hardware sensor data through libraries like PySMART (HDD/SSD health) and PySensors (CPU/GPU temperature).

Glances is designed to be easy to install and configure, often requiring just a simple pip install glances command. Its flexible architecture, based on standard Python modules, allows for easy extension through plugins, enabling monitoring of services like Docker, Kubernetes, or specific applications. The ability to run in client/server mode facilitates monitoring remote systems effortlessly.

Unique features include:

  • Dynamic Display: The interface updates in real-time, highlighting critical values through color coding (green, blue, magenta, red) based on user-defined thresholds.
  • Multiple Output Formats: Data can be exported to various formats like CSV, JSON, HTML, and even integrated with external monitoring systems like InfluxDB, Elasticsearch, and Grafana.
  • Web UI: In addition to the command-line interface, Glances provides a simple yet effective web user interface for remote monitoring via a web browser.
  • Cross-Platform Compatibility: Runs on a wide range of operating systems and architectures, making it a versatile tool in heterogeneous environments.

Overall, Glances is a powerful, open-source tool that offers comprehensive system monitoring with a focus on real-time data, flexibility, and ease of use. Its extensive features and portability make it a valuable asset for anyone needing detailed insights into their system's performance and health.

Pros & Cons

Pros

  • Comprehensive real-time system metrics in one view.
  • Highly portable and supports multiple operating systems.
  • Extensible through a powerful plugin system.
  • Offers both command-line and web interfaces.
  • Supports client/server mode for remote monitoring.

Cons

  • Command-line interface can be information-dense on complex systems.
  • Web UI is functional but basic compared to dedicated platforms.
  • Relies on Python dependencies which might require setup.

What Makes glances Stand Out

All-in-One Monitoring

Consolidates a wide range of system metrics into a single, unified view.

Cross-Platform Compatibility

Runs seamlessly on major operating systems, simplifying monitoring across diverse environments.

Accessible via CLI and Web

Offers flexibility in access methods, catering to both command-line enthusiasts and those preferring a web interface.

Highly Extensible with Plugins

Allows users to expand monitoring capabilities for specific applications and services easily.

Features & Capabilities

17 features

Expert Review

Glances Software Review

Glances is a robust and remarkably versatile open-source real-time system monitoring tool. Written in Python, its cross-platform nature is a significant strength, allowing it to be deployed on a wide array of operating systems including Linux, macOS, Windows, and various BSD flavors. This broad compatibility makes it an excellent choice for environments with mixed operating systems, providing a consistent monitoring experience.

The primary interface of Glances is its dynamic command-line display. This interface is well-organized and presents a wealth of information at a glance, living up to its name. Key system metrics such as CPU usage (broken down by core), memory consumption (including RAM and Swap), disk I/O activity, and network transfer rates are prominently displayed. The use of color coding (green, blue, magenta, red) to indicate resource utilization levels based on customizable thresholds is a highly effective visual cue, allowing administrators to quickly identify potential bottlenecks or issues.

Beyond basic resource monitoring, Glances excels in its detailed process list. Similar to tools like 'top' or 'htop', it lists running processes with their associated resource consumption. However, Glances integrates this information within its comprehensive dashboard, providing context alongside overall system health. Users can easily sort processes by CPU or memory usage and perform basic actions like killing a process directly from the interface, although advanced process management like 'renice' is also supported.

Filesystem monitoring is also well-integrated, showing disk space usage for mounted drives and relevant I/O statistics. This is crucial for identifying potential storage capacity issues before they impact system performance. Network monitoring is equally comprehensive, providing insights into network interface activity, including bandwidth usage and packet counts, helping to diagnose network-related problems.

A notable feature of Glances is its extensibility through a thriving plugin ecosystem. This allows users to monitor specific applications and services that are not covered by default. Examples include plugins for monitoring Docker containers, Kubernetes clusters, specific databases, and various other services. This plugin architecture significantly enhances Glances' utility, making it adaptable to diverse monitoring needs.

For users who prefer a graphical interface or need to monitor systems remotely without SSH access, Glances offers a built-in web user interface. While relatively simple compared to dedicated monitoring platforms, it provides a clear overview of system status in a web browser, making it convenient for quick checks.

The client/server mode is another powerful aspect of Glances. It allows for centralized monitoring of multiple remote systems. By running Glances in server mode on remote hosts and in client mode on a central monitoring station, administrators can aggregate monitoring data from numerous machines into a single view.

Glances also supports various output formats, including CSV, JSON, and HTML, enabling data logging and integration with external monitoring and visualization tools like InfluxDB, Elasticsearch, and Grafana. This capability allows for building historical performance trends and creating more sophisticated monitoring dashboards.

Areas for Consideration:

While Glances is highly capable, users should be aware of a few factors. The command-line interface, while dynamic, can become quite dense with information on systems with many processes or resources, potentially requiring some time to become fully comfortable navigating. While the web UI is functional, it is basic and may not replace more feature-rich dedicated web-based monitoring solutions for complex enterprise environments.

Another aspect is the dependency on Python libraries for certain features and plugins. While installation is generally straightforward with pip, ensuring the necessary dependencies are met can sometimes require troubleshooting, particularly on less common operating systems or configurations. The performance impact of running Glances should also be considered on resource-constrained systems, although it is generally designed to be lightweight.

In conclusion, Glances stands out as a powerful, flexible, and highly informative open-source system monitoring tool. Its cross-platform support, comprehensive data display, extensibility through plugins, and multiple access methods (CLI, web, client/server) make it an invaluable asset for system administrators, developers, and anyone requiring detailed insights into their system's health and performance. Its active development and community contribute to its ongoing improvement and feature set.

Screenshots

Similar Apps

Compare features and reviews between these alternatives.

Compare

Compare features and reviews between these alternatives.

Compare

Compare features and reviews between these alternatives.

Compare

Compare features and reviews between these alternatives.

Compare
Advertisement

Compare features and reviews between these alternatives.

Compare

Compare features and reviews between these alternatives.

Compare

Compare features and reviews between these alternatives.

Compare

Compare features and reviews between these alternatives.

Compare

Compare features and reviews between these alternatives.

Compare

Compare features and reviews between these alternatives.

Compare

Compare features and reviews between these alternatives.

Compare