Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Example Analysis of Network Command in Linux

2025-04-01 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

Shulou(Shulou.com)06/01 Report--

This article shares with you the content of a sample analysis of network commands in Linux. The editor thinks it is very practical, so share it with you as a reference and follow the editor to have a look.

Netstat

Net is the abbreviation of network, which means "network". Stat is the abbreviation of statistics, which means "statistics".

-I

Statistics for network interfaces

# netstat-iKernel Interface tableIface MTU RX-OK RX-ERR RX-DRP RX-OVR TX-OK TX-ERR TX-DRP TX-OVR Flgeth0 1500 340147504 339022315 339022315 BMRUlo 65536 10003335 000 10003335000 LRU

MTU is the abbreviation of Maximum Transmission Unit, which means "maximum transmission unit". It refers to the maximum big data packet size (in bytes) that can pass above a layer of a communication protocol.

RX is an abbreviation for receive (for "receive") and TX is an abbreviation for transmit (for "send").

RX-OK: the correct number of packets received on this interface. OK said, "No problem, all right."

RX-ERR: the number of incorrect packets received on this interface. ERR is the abbreviation of error, which means "error".

RX-DRP: the number of packets discarded in packets received by this interface. DRP is the abbreviation of drop, which means "throw away".

RX-OVR: the number of packets that failed to receive among the packets received by this interface. OVR is the abbreviation of over, which means "over".

Display port netstat-tnafirewalld start: systemctl start firewalld off: systemctl stop firewalld View status: systemctl status firewalld boot disabled: systemctl disable firewalld boot enabled: systemctl enable firewalld configuration firewalld-cmd check version: firewall-cmd-- version View help: firewall-cmd-- help display status: firewall-cmd-- state View all open ports: firewall-cmd-- zone=public-- list-ports Update Firewall rules: firewall-cmd-- reload View Zone Information: firewall-cmd-- get-active-zones View the area to which the specified API belongs: firewall-cmd-- get-zone-of-interface=eth0 rejects all packets: firewall-cmd-- panic-on cancel rejection status: firewall-cmd-- panic-off check whether to reject: firewall-cmd-- query-panic Thank you for your reading! This is the end of this article on "sample Analysis of Network commands in Linux". I hope the above content can be of some help to you, so that you can learn more knowledge. if you think the article is good, you can share it for more people to see!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Internet Technology

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report