How to install Nload
The code is as follows |
Copy Code |
wget http://www.roland-riegel.de/nload/nload-0.7.2.tar.gz Tar zxvf nload-0.7.2.tar.gz CD nload-0.7.2 ./configure;make; Make install |
If you are prompted with the following questions during installation
Configure:error:ncurses library or development files not found. Ncurses is required for nload.
Make: * * * No targets specified and no makefile found. Stop. Www.111cn.net
Make: * * * No rule to make target ' install '. Stop.
With Yum install-y Ncurses-devel can be solved
Use
Directly with Nload, you can also specify a network card, such as Nload eth1
You can also specify that traffic is displayed in K or m, such as the traffic shown in Nload-u m is in MB
To view the Parameters help command:
Nload–help
-A: This seems to be the refresh time period for all data, in seconds, by default of 300.
-I: Enter the network card flow chart Display scale maximum setting, the default 10240 kbit/s.
-M: Do not display traffic graph, only statistics.
-O: Out of the network card flow chart Display scale maximum setting, default 10240 kbit/s.
-T: Displays data refresh interval, in milliseconds, default 500.
-U: Sets the data units for the right Curr, AVG, Min, Max, which is automatically changed by default. Note that the size of the case unit is different!
H|b|k|m|g H:auto, b:bit/s, k:kbit/s, m:mbit/s etc.
h| b| k| m| G H:auto, b:byte/s, k:kbyte/s, m:mbyte/s etc.
-U: Sets the data unit for the right TTL, which is automatically changed by default. Note that the capitalization units are different (same as-u)!
Devices: Custom monitoring of the network card, the default is all monitoring, using the left and right key switch.
If only monitor eth0 command: nload eth0