|
Nload linux is a free software tool, by providing two simple graphics to help linux users and system administrators to monitor network traffic in real-time as well as broadband usage: one is the incoming traffic, one for outgoing traffic.
I really like to use nload to display the current download speed, total inflows and average download speed and other information on the screen. FIG nload reporting tools are very easy to understand, the most important is this information really helpful. ac
Speaking on the use of manual, by default it will monitor all network devices. But you can easily specify the device you want to monitor, but also by the arrow keys to switch between different network devices. In addition, there are many options available, such as '-t' option to refresh the display to set the millisecond interval (interval default value is 500 milliseconds), '- m' option is used to simultaneously display multiple devices (in the use of this option when not displayed flow diagram), '- u' option is used to set the display traffic numbers of units, in addition to many other options will be explored and exercises in this tutorial.
How nload installed on your linux machine
Ubuntu and Fedora users can be easily installed from the default depot.
Use the following command to install on Ubuntu.
sudo apt-get install nload
Use the following command to install on Fedora.
sudo yum install nload
CentOS users how to do it? Only need to enter the following command on your machine can be installed successfully.
sudo yum install nload
The following command will help you install nload in OpenBSD systems.
sudo pkg_add -i nload
On linux machine to another very effective way is to install software to compile the source code, download and install the latest version means being able to get better performance, cool features and less bug.
How to install from source nload
Before installing nload from the source code, you need to download the source code. I usually use wget to download the tool - the tool on many linux machine available by default. The free non-interactive tool helps users to download files from the network, and supports the following protocols:
HTTP
HTTPS
FTP
By the following command into the / tmp directory.
cd / tmp
Then enter the following command in your terminal, you can download the latest version of nload to your linux machine.
wget http://www.roland-riegel.de/nload/nload-0.7.4.tar.gz
If you prefer not to use wget tool, you can click a mouse by simply and easily download the source code from the official website.
Because the software is very light, almost in an instant download process will be completed. The next step is through the tar tool to download the source code package decompress.
tar archiving tools can be used from a tape or hard disk or stored in the document-extracting file, the tool has many options available, but we only need the following several options to perform our operations.
-x Extract the files from the archive
-v cumbersome to use mode - to display details
-f to specify the archive
For example (LCTT Annotation: tar command arguments before the "-" may be omitted):
tar xvf example.tar
Now you learn how to use the tar tool, I'm pretty sure you know how to unpack the .tar file from the command line.
tar xvf nload-0.7.4.tar.gz
After using cd command to enter nload * directory:
cd nload *
On my system it looks like this:
oltjano @ baby: /tmp/nload-0.7.4$
Then run the following commands to configure the package for your system:
./configure
At this time there will be "a big wave of zombies" will be displayed on your screen, the following describes a screenshot it looks.
After the above command completes, use the following command to compile nload.
make
Well, finally ...., the following command can be nload installed on your machine.
sudo make install
After installing nload is to let you learn how to use it in time.
How nload
I like to explore, so in your terminal, enter the following command.
nload
You see?
I got the following results.
Inflow
The current download speed
Average download speed
The minimum download speed
Maximum download speed
The total inflow of bytes displayed
Outflow
The same applies to similar outflow
Some useful options nload
Use -u option to set the display flow units.
The following command will help you use MBit / s the display unit
nload -u m
The screenshot below shows the results of the command.
Try the following command and then see what happens.
nload -u g
At the same time there is a -U option. According to the manual description, this option is substantially similar to the -u option, except that in the aggregate data. I tested this order, to be honest, when you need to check the total amount of inflow and outflow is very useful.
nload -U G
You can see from the screenshot above, nload -U G Gbyte use to display the amount of data.
I like to use another useful option is the -t. The option is to refresh the display event interval, in milliseconds, default value is 500 milliseconds.
I'll do some small experiments with the following command.
nload -t 130
Then the above command to do anything at all? It will display refresh interval is set to 130 ms. Do not normally recommended time interval set this value less than 100 milliseconds, because nload calculation error when generating reports.
Another option is -a, when calculating the average number of seconds you want to set a time window of use, the default value is 300 seconds.
Then when you want to monitor specific network devices, how do? Very easily, so simply specify the device to the list or lists the device you want to monitor as follows.
nload wlan0
The following syntax can help you to monitor multiple devices specified.
nload [options] device1 device2 devicen
For example, use the following command to monitor the eth0 and eth1.
nload wlan0 eth0
Without the option to run nload, then it will automatically monitor all detected devices, you can left and right arrow keys to display information in which any one of the devices. |
|
|
|