LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

glances

cross-platform system monitoring tool

TLDR

Start glances
$ glances
copy
Web server mode
$ glances -w
copy
Client mode
$ glances -c [server-ip]
copy
Export to CSV
$ glances --export csv --export-csv-file [output.csv]
copy
Per-CPU stats with 5-second refresh
$ glances -1 -t 5
copy
Server mode on a custom port
$ glances -s -p [61210]
copy
Quiet mode
$ glances -q
copy

SYNOPSIS

glances [options]

DESCRIPTION

glances is a cross-platform system monitoring tool. It displays real-time CPU, memory, disk, network, and process information in a comprehensive terminal interface.The tool provides more information than top or htop in a single view. It supports client-server mode, a web interface, and exports to various formats for monitoring and analysis.

PARAMETERS

-w, --webserver

Start web server.
-c SERVER, --client SERVER
Connect to server.
-s, --server
Start server mode.
-t SECONDS
Refresh time.
--export FORMAT
Export to format.
-p PORT, --port PORT
TCP port for client/server/web mode (default: 61209).
-1, --percpu
Display per-CPU stats instead of aggregated.
-b, --byte
Display network I/O in bytes per second instead of bits.
-q, --quiet
No display, background.
--disable-plugin PLUGIN
Disable a specific plugin (e.g., docker, gpu).
--stdout STATS
Display stats to stdout (comma-separated list).
--help
Display help information.

CONFIGURATION

~/.config/glances/glances.conf

Main configuration file for thresholds, display options, and export settings.

CAVEATS

Requires Python and psutil. Some features (web mode, Docker, GPU monitoring) need optional dependencies. Web mode requires a browser and the bottle/fastapi module. High refresh rates may increase CPU usage.

HISTORY

glances was created by Nicolas Hennion as a comprehensive system monitoring solution that goes beyond traditional tools like top.

SEE ALSO

htop(1), top(1), iotop(1), nmon(1), vmstat(8)

Copied to clipboard
Kai