summaryrefslogtreecommitdiffstats
path: root/man/glances.1
blob: 9a704bfe33bd2cdf2eb883f2e7abef51d9a2b11f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
.TH glances 1  "January, 2013" "version 1.6" "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
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).