Linux Network management related tools

Source: Internet
Author: User
Tags network troubleshooting traceroute command

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

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.