2013-09-19 17:00:00 +04:00
|
|
|
.TH glances 1 "September, 2013" "version 1.7.2" "USER COMMANDS"
|
2013-04-08 18:16:00 +04:00
|
|
|
.SH NAME
|
|
|
|
glances \- A cross-platform curses-based monitoring tool
|
|
|
|
.SH SYNOPSIS
|
|
|
|
.B glances
|
2013-08-14 16:24:14 +04:00
|
|
|
[\-bdehmnrsvyz1] [\-B bind] [\-c server] [\-C conffile] [\-f file] [\-o output] [\-p port] [\-P password] [\-t refresh]
|
2013-04-08 18:16:00 +04:00
|
|
|
.SH DESCRIPTION
|
|
|
|
Glances is a free (LGPL) cross-platform curses-based monitoring tool which aims to present a maximum of information
|
|
|
|
in a minimum of space, ideally to fit in a classical 80x24 terminal or higher to have additionnal information.
|
|
|
|
.PP
|
2013-08-14 16:24:14 +04:00
|
|
|
Glances can adapt dynamically the displayed information depending on the terminal size. It can also
|
|
|
|
work in a client/server mode for remote monitoring.
|
2013-04-08 18:16:00 +04:00
|
|
|
.PP
|
2013-08-14 16:24:14 +04:00
|
|
|
This tool is written in Python and uses the psutil library to fetch the statistical values from key elements,
|
|
|
|
like CPU, load average, memory, network, disks, file systems, processes, etc.
|
2013-04-08 18:16:00 +04:00
|
|
|
.SH COMMAND-LINE OPTIONS
|
|
|
|
The command-line options are the following:
|
|
|
|
.TP
|
|
|
|
.B \-b
|
2013-08-14 16:24:14 +04:00
|
|
|
Display network rate in Byte per second (default: bit per second)
|
2013-04-08 18:16:00 +04:00
|
|
|
.TP
|
|
|
|
.B \-B @IP|host
|
2013-08-14 16:24:14 +04:00
|
|
|
Bind server to the given IPv4/IPv6 address or hostname
|
2013-04-08 18:16:00 +04:00
|
|
|
.TP
|
|
|
|
.B \-c @IP|host
|
2013-08-14 16:24:14 +04:00
|
|
|
Connect to a Glances server by IPv4/IPv6 address or hostname
|
2013-04-08 18:16:00 +04:00
|
|
|
.TP
|
|
|
|
.B \-C file
|
2013-09-19 17:00:00 +04:00
|
|
|
Path to the configuration file
|
2013-04-08 18:16:00 +04:00
|
|
|
.TP
|
|
|
|
.B \-d
|
|
|
|
Disable disk I/O module
|
|
|
|
.TP
|
|
|
|
.B \-e
|
2013-08-14 16:24:14 +04:00
|
|
|
Enable sensors module (requires pysensors, Linux-only)
|
2013-04-08 18:16:00 +04:00
|
|
|
.TP
|
|
|
|
.B \-f file
|
2013-08-14 16:24:14 +04:00
|
|
|
Set the HTML output folder or CSV file
|
2013-04-08 18:16:00 +04:00
|
|
|
.TP
|
|
|
|
.B \-h
|
|
|
|
Display the help and exit
|
|
|
|
.TP
|
|
|
|
.B \-m
|
|
|
|
Disable mount module
|
|
|
|
.TP
|
|
|
|
.B \-n
|
|
|
|
Disable network module
|
|
|
|
.TP
|
|
|
|
.B \-o output
|
|
|
|
Define additional output (available: HTML or CSV)
|
|
|
|
.TP
|
|
|
|
.B \-p PORT
|
2013-08-14 16:24:14 +04:00
|
|
|
Define the client/server TCP port (default: 61209)
|
2013-04-08 18:16:00 +04:00
|
|
|
.TP
|
|
|
|
.B \-P password
|
|
|
|
Define a client/server password
|
|
|
|
.TP
|
|
|
|
.B \-r
|
2013-08-14 16:24:14 +04:00
|
|
|
Disable process list (for low CPU consumption)
|
2013-04-08 18:16:00 +04:00
|
|
|
.TP
|
|
|
|
.B \-s
|
|
|
|
Run Glances in server mode
|
|
|
|
.TP
|
2013-08-14 16:24:14 +04:00
|
|
|
.B \-t seconds
|
|
|
|
Set refresh time in seconds (default: 3 sec)
|
2013-04-08 18:16:00 +04:00
|
|
|
.TP
|
|
|
|
.B \-v
|
|
|
|
Display the version and exit
|
|
|
|
.TP
|
|
|
|
.B \-y
|
2013-08-14 16:24:14 +04:00
|
|
|
Enable hddtemp module (requires hddtemp)
|
2013-04-08 18:16:00 +04:00
|
|
|
.TP
|
|
|
|
.B \-z
|
|
|
|
Do not use the bold color attribute
|
2013-08-14 16:24:14 +04:00
|
|
|
.TP
|
|
|
|
.B \-1
|
|
|
|
Start Glances in per-CPU mode
|
2013-04-08 18:16:00 +04:00
|
|
|
.SH INTERACTIVE COMMANDS
|
|
|
|
You can use the following keys while in Glances:
|
|
|
|
.TP
|
|
|
|
.B a
|
2013-08-14 16:24:14 +04:00
|
|
|
Sort process list automatically
|
2013-04-08 18:16:00 +04:00
|
|
|
.TP
|
|
|
|
.B b
|
2013-08-14 16:24:14 +04:00
|
|
|
Switch between bit/s or Byte/s for network I/O
|
2013-04-08 18:16:00 +04:00
|
|
|
.TP
|
|
|
|
.B c
|
2013-08-14 16:24:14 +04:00
|
|
|
Sort processes by CPU usage
|
2013-04-08 18:16:00 +04:00
|
|
|
.TP
|
|
|
|
.B d
|
2013-08-14 16:24:14 +04:00
|
|
|
Show/hide disk I/O stats
|
2013-04-08 18:16:00 +04:00
|
|
|
.TP
|
|
|
|
.B f
|
|
|
|
Show/hide file system stats
|
|
|
|
.TP
|
|
|
|
.B h
|
2013-08-14 16:24:14 +04:00
|
|
|
Show/hide the help screen
|
2013-04-08 18:16:00 +04:00
|
|
|
.TP
|
|
|
|
.B i
|
2013-08-14 16:24:14 +04:00
|
|
|
Sort processes by I/O rate
|
2013-04-08 18:16:00 +04:00
|
|
|
.TP
|
|
|
|
.B l
|
|
|
|
Show/hide log messages
|
|
|
|
.TP
|
|
|
|
.B m
|
2013-08-14 16:24:14 +04:00
|
|
|
Sort processes by MEM usage
|
2013-04-08 18:16:00 +04:00
|
|
|
.TP
|
|
|
|
.B n
|
|
|
|
Show/hide network stats
|
|
|
|
.TP
|
|
|
|
.B p
|
|
|
|
Sort processes by name
|
|
|
|
.TP
|
2013-08-14 16:24:14 +04:00
|
|
|
.B q
|
|
|
|
Quit
|
|
|
|
.TP
|
2013-04-08 18:16:00 +04:00
|
|
|
.B s
|
2013-08-14 16:24:14 +04:00
|
|
|
Show/hide sensors stats (only available with -e flag)
|
2013-04-08 18:16:00 +04:00
|
|
|
.TP
|
|
|
|
.B t
|
2013-08-14 16:24:14 +04:00
|
|
|
View network I/O as combination
|
2013-04-08 18:16:00 +04:00
|
|
|
.TP
|
|
|
|
.B u
|
2013-08-14 16:24:14 +04:00
|
|
|
View cumulative network I/O
|
2013-04-08 18:16:00 +04:00
|
|
|
.TP
|
|
|
|
.B w
|
|
|
|
Delete finished warning log messages
|
|
|
|
.TP
|
|
|
|
.B x
|
|
|
|
Delete finished warning and critical log messages
|
|
|
|
.TP
|
2013-08-14 16:24:14 +04:00
|
|
|
.B y
|
|
|
|
Show/hide hddtemp stats (only available with -y flag)
|
|
|
|
.TP
|
2013-04-08 18:16:00 +04:00
|
|
|
.B 1
|
|
|
|
Switch between global CPU and per-CPU stats
|
|
|
|
.SH EXAMPLES
|
|
|
|
.TP
|
|
|
|
Refresh information every 5 seconds:
|
|
|
|
.B glances
|
|
|
|
\-t 5
|
|
|
|
.PP
|
|
|
|
.SH EXIT STATUS
|
|
|
|
Glances returns a zero exit status if it succeeds to print/grab information.
|
|
|
|
.PP
|
|
|
|
It returns 2 if it fails to parse its options (missing arguments, invalid value, etc).
|
|
|
|
.SH AUTHOR
|
|
|
|
Glances is written by Nicolas Hennion aka Nicolargo (contact@nicolargo.com)
|