Ir para o conteúdo

nload Introduction

nload is a text console-based network traffic monitor. It shows your server's traffic and bandwidth statistics.

Using nload

dnf -y install epel-release
dnf -y install nload

The common options of the nload command follow, and under normal circumstances, require nothing additional. The options come before the interface to monitor:

Options Description
-a PERIOD Length for time window of calculation in seconds (default: 300)
-m Shows multiple devices and does not show a traffic graph
-t INTERVAL Refresh interval in milliseconds (default: 500)
-u UNIT One-letter unit for bandwidth display (default: k)
-U UNIT One-Letter unit for data transfer display (default: M)

The units for the latter two options are as follows:

Unit Meaning
b bit
B byte
k kilobit
K kilobyte
m megabit
M megabyte
g gigabit
G gigabyte

A sample output from the author's home server running a Tor relay:

Device bridge0 [172.20.0.3] (1/8):
================================================================================
Incoming:
                                             ########
                                             ########
                                             ########
                                             ########
                                             ########
                                             ########  Curr: 79.13 MBit/s
                                             ########  Avg: 84.99 MBit/s
                                             ########  Min: 79.13 MBit/s
                                             ########  Max: 87.81 MBit/s
                                             ########  Ttl: 1732.95 GByte
Outgoing:
                                             ########
                                             ########
                                             ########
                                             ########
                                             ########
                                             ########  Curr: 81.30 MBit/s
                                             ########  Avg: 88.05 MBit/s
                                             ########  Min: 81.30 MBit/s
                                             ########  Max: 91.36 MBit/s
                                             ########  Ttl: 1790.74 GByte

Breaking the above lines down:

  • Curr - current measured bandwidth use
  • Avg - average bandwidth use in period
  • Min - minimum measured bandwidth use
  • Max - maximum measured bandwidth use
  • Ttl - data transferred in nload session

Shortcut keys for interaction

  • Page Down, Down - Go down one interface
  • Page Up, Up - Go up one interface
  • F2 - Show the option window
  • F5 - Save the options
  • F6 - Reload the settings from the config file
  • Q, Ctrl+C - Quit nload

Author: Neel Chauhan

Contributors: Steven Spencer, Ganna Zhyrnova