mirror of
https://github.com/nicolargo/glances.git
synced 2024-12-22 00:31:37 +03:00
104 lines
2.3 KiB
Groff
104 lines
2.3 KiB
Groff
.TH glances 1 "December, 2012" "version 1.5.2" "USER COMMANDS"
|
|
.SH NAME
|
|
glances \- CLI curses based monitoring tool
|
|
.SH SYNOPSIS
|
|
.B glances
|
|
[\-bdehmnsv] [\-t refresh] [\-B bind] [\-c server] [\-p port] [\-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. Glances can adapt dynamicaly the
|
|
displayed information depending on the terminal size.
|
|
.PP
|
|
This tool is written in Python and uses PsUtil to fetch the statistical values from key elements.
|
|
.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
|
|
'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
|
|
\-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
|
|
\-s
|
|
Run Glances in server mode
|
|
.TP
|
|
\-t sec
|
|
Set the refresh time in seconds (default: 3)
|
|
.TP
|
|
\-v
|
|
Display the version and exit
|
|
.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 Nicolargo (contact@nicolargo.com).
|