Ubuntu displays the NIC packet processing speed and ubuntu Packet
View Nic packet processing speed in ubuntu
sar -l 1 10
First, install sar. The "-l" parameter in the apt-get install atsarsar command is net-interf (general). The parameter "1" is counted every second, the "10" parameter indicates the total number of times.
Q: How can I view the network speed of two NICs in a PC under ubuntu?
Install an indicator-multiload
Sudo add-apt-repository ppa: indicator-multiload/stable-daily
Sudo apt-get update
Sudo apt-get install indicator-multiload
Ubuntu Nic configuration problems (urgent)
Root permission is required to set the NIC
Sudo ifconfig eth0 192.168.0.1 netmask 255.255.255.0 up
It is shown here.
# Results displayed when my network adapter is not inserted into the network cable:
Ifconfig
Eth0 Link encap: Ethernet hardware address 00: 11AA: fE: 22: Fb
Up broadcast multicast mtu: 1500 hops: 1
Received data packet: 0 error: 0 discard: 0 overload: 0 frames: 0
Packet sending: 0 error: 0 discard: 0 overload: 0 carrier: 0
Collision: 0 sending queue length: 1000
Received byte: 0 (0.0 B) sent byte: 0 (0.0 B)
# After the ip address is added, the network cable is not inserted.
Eth0 Link encap: Ethernet hardware address 00: 11AA: fE: 22: Fb
Inet address: 192.168.0.1 broadcast: 192.168.0.255 mask: 255.255.255.0
Up broadcast multicast mtu: 1500 hops: 1
Received data packet: 0 error: 0 discard: 0 overload: 0 frames: 0
Packet sending: 0 error: 0 discard: 0 overload: 0 carrier: 0
Collision: 0 sending queue length: 1000
Received byte: 0 (0.0 B) sent byte: 0 (0.0 B)
Supplement:
The ip address is not displayed because your local Nic does not obtain the ip address.