Linux itself provides many tools for network testing, network troubleshooting, network State analysis, and a few more commonly used tools.
One, ping command
The ping command uses the ICMP protocol to also test the connectivity of the network.
Command format: ping [option] IP
Common options:
-C #: Specify the number of messages;
-W Timeout: The timeout of waiting for the response message.
650) this.width=650; "title=" 1452726244909914.jpg "alt=" 1.jpg "src=" http://www.178linux.com/ueditor/php/upload/ Image/20160114/1452726244909914.jpg "/>
Second, traceroute command
The traceroute command is used to track each routed node to the destination.
Command format: traceroute host| Ip
650) this.width=650; "title=" 1452726858547399.jpg "alt=" 2.jpg "src=" http://www.178linux.com/ueditor/php/upload/ Image/20160114/1452726858547399.jpg "/>
Third, MTR command
The MTR command functions similarly to the traceroute command, but dynamically displays the node information.
Command format: MTR host| Ip
650) this.width=650; "title=" 1452726946118534.jpg "alt=" 3.jpg "src=" http://www.178linux.com/ueditor/php/upload/ Image/20160114/1452726946118534.jpg "/>
Iv. netstat command
Used to display network connection status.
Command format: netstat [options]
Common options:
-T:TCP Agreement;
-U:UDP Agreement;
-N: Displays the address of the number format;
-l:listen, displays the connection in the monitoring State;
-tan:tcp all States;
-P: Shows the process program name and process number in the session;
-r: Displays the routing table;
Common combination options:-TUNPL
650) this.width=650; "title=" 1452727207334177.jpg "alt=" 4.jpg "src=" http://www.178linux.com/ueditor/php/upload/ Image/20160114/1452727207334177.jpg "/>
V. Ethtool command
Used to display property information for a network device.
Command format: ethtool [options] Device name
650) this.width=650; "title=" 1452727362172592.jpg "alt=" 5.jpg "src=" http://www.178linux.com/ueditor/php/upload/ Image/20160114/1452727362172592.jpg "/>
-S: Displays statistics for network interfaces
650) this.width=650; "title=" 1452727440560299.jpg "alt=" 6.jpg "src=" http://www.178linux.com/ueditor/php/upload/ Image/20160114/1452727440560299.jpg "/>
VI, SS command
The SS command works the same as the Netstat command, but the SS command can also specify the connection status as a filter.
Command format: SS [Options]
Common options:
-t:tcp
-n:udp
-p:process
-l:listening
-a:all
-E: Extended information
-M: socket-related memory usage information
-O state {established,listening,fin_wait_1,fin_wait_2} ' (dport= or sport=) ' displays only the connections in the specified state, and can also specify filter conditions
650) this.width=650; "title=" 1452727971816651.jpg "alt=" 7.jpg "src=" http://www.178linux.com/ueditor/php/upload/ Image/20160114/1452727971816651.jpg "/>
Linux Network management related tools