summaryrefslogtreecommitdiff
path: root/docs/nload.1.in
blob: d9f8ae75b20b51d28d6b1e3fc3e9901812e2a500 (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
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
.\"
.\" Man page for nload
.\" Copyright (C) 2001 - 2012 by Roland Riegel <feedback@roland.riegel.de>
.\"
.TH nload 1 "February 06, 2012" nload "Network monitoring tools"
.SH NAME
nload \- displays the current network usage

.SH SYNOPSIS
.B nload
.RB [ \-a
.IR period ]
.RB [ \-i
.IR max_scaling ]
.RB [ \-m ]
.RB [ \-o
.IR max_scaling ]
.RB [ \-t
.IR interval ]
.RB [ \-u
.IR h|H|b|B|k|K|m|M|g|G ]
.RB [ \-U
.IR h|H|b|B|k|K|m|M|g|G ]
.RI [ devices ]

.B nload \-\-help|\-h

.SH DESCRIPTION
.B nload
is a console application which monitors network traffic and bandwidth usage in real time.
It visualizes the in- and outgoing traffic using two graphs and provides additional info
like the total amount of transfered data and min/max network usage.

.SH USAGE
When running
.B nload,
you can switch between the devices (which you gave
.B nload
either on the command line or which were auto-detected) by pressing the left and right arrow keys. If the
.B \-m
command line parameter is given, the arrow keys switch as many devices back and forth as
there are shown on the screen. If you want to quit, do so by pressing 'q' or 'Ctrl+C'.

For further key shortcuts, have a look at the sections
.B MAIN WINDOW
and
.B OPTION WINDOW
below.

.SH OPTIONS
A summary of the options supported by
.B nload
is included below.

.TP
.B \-a period
Sets the length in seconds of the time window for average calculation.
The default is 300.
.TP
.B \-i max_scaling
Specifies the 100% mark in kBit/s of the graph indicating the incoming bandwidth usage.
Ignored if max_scaling is 0 or the switch \-m is given. The default value for max_scaling
is 10240.
.TP
.B \-m
Show multiple devices at a time; do not show the traffic graphs.
.TP
.B \-o max_scaling
Same as \-i but for the graph indicating the outgoing bandwidth usage.
.TP
.B \-t interval
Determines the refresh interval of the display in milliseconds.
The default value of interval is 500.

PLEASE NOTE:
Specifying refresh intervals shorter than about 100 milliseconds makes traffic
calculation very unprecise. Also the display may flicker using such short
refresh intervals.
.B nload
tries to balance this out by doing extra time measurements, but this may
not always succeed.
.TP
.B \-u h|H|b|B|k|K|m|M|g|G
Sets the type of unit used for the display of traffic numbers.
h means human readable (auto), b Bit/s, k kBit/s, m MBit/s and g GBit/s.
The upper case letters mean the corresponding units in Bytes (instead of Bits).
The default is k.
.TP
.B \-U h|H|b|B|k|K|m|M|g|G
Same as \-u, but for an amount of data, e.g. Bit, kByte, GBit etc. (without "/s").
The default is M.
.TP
.B devices
Network devices to use. The default is "all", which means to display all auto-detected devices.
.TP
.B \-h, \-\-help
Show a short summary of these command line options.

.SH MAIN WINDOW
After starting,
.B nload
begins to monitor the network devices given on the
command line, or, if none where specified, the default device. In this mode,
the following key shortcuts are available.

.TP
.B 'ArrowRight', 'ArrowDown', 'PageDown', 'Enter', 'Tab'
Switch the display to the next network device, or, when started with the
.B \-m
flag, to the next page of devices.

.TP
.B 'ArrowLeft', 'ArrowUp', 'PageUp'
Switch the display to the previous network device, or, when started with
the
.B \-m
flag, to the previous page of devices.

.TP
.B 'F2'
Show the option window (see section 
.B OPTION WINDOW
below).

.TP
.B 'F5'
Save current settings to the user's config file.

.TP
.B 'F6'
Reload settings from the config files.

.TP
.B 'q', 'Ctrl+C'
Quit
.BR nload .

.SH OPTION WINDOW
The parameters given to
.B nload
on the command line can be adjusted during run time by pressing the 'F2' key. A
small window appears on the top of the screen, listing the available settings.

.TP
.B 'F2'
Show/hide the option window.

.TP
.B 'ArrowLeft', 'ArrowRight', 'Home', 'End'
Navigate within the edit fields.

.TP
.B 'ArrowUp', 'ArrowDown', 'Enter'
Navigate between the settings.

.TP
.B 'PageUp', 'PageDown', 'Tab'
Toggle between the different values possible for the current field.

.TP
.B '+' / '-'
Switch to the next / previous page of settings.

.SH FILES

.TP
.I /etc/nload.conf
System-wide configuration file.

.TP
.I $(HOME)/.nload
User-specific configuration file (overrides system-wide settings).

.TP
.I /sys/class/net/*/* /proc/net/dev
are read by
.B nload
when running on Linux to get the network traffic data.

.SH VERSION
This manual page describes version @VERSION@ of
.BR nload .

For updates, look at the nload homepage:
.br
.B http://www.roland-riegel.de/nload/

.SH HELP
If you need help, either contact me directly (see below) or write to the
nload-user mailing list at
.br
.B nload-user@lists.sourceforge.net
.br
after having subscribed at
.br
.BR https://lists.sourceforge.net/lists/listinfo/nload-user .

.SH AUTHOR
Copyright (C) 2001 - 2012 Roland Riegel <feedback@roland-riegel.de>

This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.