mirror of
https://github.com/nicolargo/glances.git
synced 2025-01-06 09:47:09 +03:00
bf6ebfd14e
update docs to reflect hddtemp module needs daemon
156 lines
3.7 KiB
Groff
156 lines
3.7 KiB
Groff
.TH glances 1 "January, 2013" "version 1.6.1" "USER COMMANDS"
|
|
.SH NAME
|
|
glances \- CLI curses based monitoring tool
|
|
.SH SYNOPSIS
|
|
.B glances
|
|
[\-bdehmnsvz] [\-C conffile] [\-t refresh] [\-B bind] [\-c server] [\-p port] [\-P password] [\-o output] [\-f file]
|
|
.SH DESCRIPTION
|
|
Glances is a free (LGPL) 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.
|
|
Glances can adapt dynamicaly the displayed information depending on the terminal size.
|
|
It can also work in a client/server mode (for remote monitoring).
|
|
.PP
|
|
This tool is written in Python and uses PsUtil to fetch the statistical values from key elements.
|
|
.PP
|
|
The command line options are the following:
|
|
.PP
|
|
-b Display network rate in Byte per second
|
|
.PP
|
|
-B @IP|host Bind server to the given IP or host NAME
|
|
.PP
|
|
-c @IP|host Connect to a Glances server
|
|
.PP
|
|
-C file Path to the configuration file
|
|
.PP
|
|
-d Disable disk I/O module
|
|
.PP
|
|
-e Enable the sensors module (Linux-only)
|
|
.PP
|
|
-f file Set the output folder (HTML) or file (CSV)
|
|
.PP
|
|
-h Display the syntax and exit
|
|
.PP
|
|
-m Disable mount module
|
|
.PP
|
|
-n Disable network module
|
|
.PP
|
|
-o output Define additional output (available: HTML or CSV)
|
|
.PP
|
|
-p PORT Define the client or server TCP port (default: 61209)
|
|
.PP
|
|
-P password Client/server password
|
|
.PP
|
|
-r Do not list processes (significant CPU use reduction)
|
|
.PP
|
|
-s Run Glances in server mode
|
|
.PP
|
|
-t sec Set the refresh time in seconds (default: 3)
|
|
.PP
|
|
-v Display the version and exit
|
|
.PP
|
|
-y Enable the hddtemp module (requires running hddtemp daemon)
|
|
.PP
|
|
-z Do not use the bold color attribute
|
|
.PP
|
|
When Glances is running, you can use the following keys:
|
|
.PP
|
|
'a' Automatic mode. The process list is sorted automatically
|
|
.PP
|
|
'b' Switch between bit/s or Byte/s for network IO
|
|
.PP
|
|
'c' Sort processes by CPU%
|
|
.PP
|
|
'd' Show/hide disk IO stats
|
|
.PP
|
|
'f' Show/hide file system stats
|
|
.PP
|
|
'h' Show/hide the help message
|
|
.PP
|
|
'i' Sort processes by IO rate
|
|
.PP
|
|
'l' Show/hide log messages
|
|
.PP
|
|
'm' Sort processes by MEM%
|
|
.PP
|
|
'n' Show/hide network stats
|
|
.PP
|
|
'p' Sort processes by name
|
|
.PP
|
|
's' Show/hide sensors stats (Linux-only)
|
|
.PP
|
|
'w' Delete finished warning logs messages
|
|
.PP
|
|
'x' Delete finished warning and critical logs
|
|
.PP
|
|
'q' Quit
|
|
.PP
|
|
'1' Switch between global CPU and per core stats
|
|
.PP
|
|
The current version grab the following stats: CPU, Load, Memory, Network rate, Disk IO, file system,
|
|
process number and details.
|
|
.SH OPTIONS
|
|
.TP
|
|
.TP
|
|
\-b
|
|
Display network rate in Byte per second
|
|
.TP
|
|
\-B bind
|
|
Bind server to the given IP or host NAME
|
|
.TP
|
|
\-c server
|
|
Connect to a Glances server (IP address or hostname)
|
|
.TP
|
|
\-C conffile
|
|
Use a configuration file (default: {/usr/local,}/etc/glances/glances.conf)
|
|
.TP
|
|
\-d
|
|
Disable disk I/O module
|
|
.TP
|
|
\-e
|
|
Enable the sensors module (Linux-only)
|
|
.TP
|
|
\-f file
|
|
Set the output folder (HTML) or file (CSV)
|
|
.TP
|
|
\-h
|
|
Display the syntax and exit
|
|
.TP
|
|
\-m
|
|
Disable mount module
|
|
.TP
|
|
\-n
|
|
Disable network module
|
|
.TP
|
|
\-o output
|
|
Define additional output (available: HTML or CSV)
|
|
.TP
|
|
\-p port
|
|
Define the client or server TCP port (default: 61209)
|
|
.TP
|
|
\-P password
|
|
Define the client or server password (default: no password)
|
|
.TP
|
|
\-s
|
|
Run Glances in server mode
|
|
.TP
|
|
\-t sec
|
|
Set the refresh time in seconds (default: 3)
|
|
.TP
|
|
\-v
|
|
Display the version and exit
|
|
.TP
|
|
\-z
|
|
Do not use the bold color attribute
|
|
.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).
|