Checking our network card current setting
# mii-tool
# sudo ethtool eth0
Display driver information
# ethtool -i eth0
Display statistics information
# ethtool -S eth0
Network adapter self test
# ethtool -t eth0 online
# ethtool -t eth0 offline
Changing network card setting interactively
# ethtool -s eth0 speed 100 duplex full autoneg on
Setting speed and duplex at boot time
# vi /etc/sysconfig/network-scripts/ifcfg-eth0
# service network restart
Displaying network packets
$ tcpdump -i eth0
Network testing (benchmarking) with iperf
Server:
$ iperf -s
$ iperf -s -u
Client:
$ iperf -c <server-ip-addr>
$ iperf -c <server-ip-addr> -u
Bandwidth Measurement Tools
- iperf (NLANR/DAST) --- For bandwidth testing, iPerf3 is preferred over iPerf1 or 2.
- iperf3 (ESnet) --- Note that iperf3 is not backwards compatible with the original iperf.
- nuttcp ---
- netperf (HP) ---
خب! این ابزارها مهم ترین ها هستند. در دنیای سیستم های توکار باید از اینها استفاده کنید!