当前位置:网站首页>Network traffic monitoring tool iftop
Network traffic monitoring tool iftop
2022-07-29 00:12:00 【Zhang quandan, Foxconn quality inspector】
iftop Network card traffic monitoring command
All the result network cards go out , Or come in , adopt iftop Can monitor , This is real-time .
iftop Is a free network card real-time traffic monitoring tool , Be similar to Linux below top command .iftop It can monitor the real-time traffic of the specified network card 、 Port connection information 、 Reverse DNS IP etc. , It can also accurately display the local network traffic and the traffic set of each host in the network communicating with the local computer , It is very suitable for monitoring the network traffic of proxy server or router . perform “iftop -P -i em1” command , Get... As shown in the figure below iftop A typical output interface of .( Generally, I will filter , For example, display the traffic of a network card , Is to specify a specific network card , In this way, you can know the specific traffic of a network card , If you do the binding of dual network cards , So it's using bond0)
- P It can display the relationship between host and port , This has a lot to do with checking network performance -n In order to ip To display .
iftop Network card traffic monitoring command iftop The output of can be divided into three parts as a whole :
The first part . yes iftop The top line in the output , This line information is the flow scale , Used to display network card bandwidth traffic .
The second part . yes iftop The largest part of the output , This part is divided into left 、 in 、 Three columns on the right , What are recorded in the left and middle columns IP Or the host is connecting to the local network .( The left side shows the ip, Then the random port communicates with a host , It's the middle column .)
=> Send data on behalf of , conversely <= Is to accept data . Through these two columns, we can clearly see , This machine and the corresponding host , What is the status of sending and receiving data .
For example, a host frantically sends packets to another host , We don't know which host it is going to send , adopt iftop You can clearly see what data they send and receive through this network card and a designated host .
The rightmost one shows the outside ip Connect to native ,2s Inside ,10s Inside ,40s An average flow value in , Display the flow values in different time periods .
The third part is located in iftop The bottom of the output , It can be divided into three lines , among ,“TX” Means send data ,“RX” Indicates receiving data ,“TOTAL” It means sending and receiving all traffic .
cum: From run iftop Send a traffic that accepts total data to the front .
peak: Peak flow
rate: In the past two seconds ,10s,40s, Average flow value .
iftop Application scenarios
Server bandwidth is severely exhausted , But the business volume is not large , No available bandwidth makes the business system unable to operate normally , It's urgent to know what's going on .( With which machine on the Internet , Crazy contract awarding )
Online business systems often consume a lot of bandwidth , But the source of bandwidth consumption cannot be found . Want to know the bandwidth occupation of online business system
边栏推荐
- 有效供应链管理的八大绩效分析指标(上)
- Centos7 install mysql8
- Worthington - chemical properties and related studies of Worthington trypsin
- Applet editor rich text editing and rich text parsing
- Detailed explanation of 9 common reasons for MySQL index failure
- JS advanced ES6 ~ es13 new features
- Leetcode62. 不同路径
- Leetcode60. permutation sequence
- 【C】 Introduction and Simulation Implementation of ATOI and offsetof
- Those "experiences and traps" in the data center
猜你喜欢
Yolov5 learning notes (I) -- principle overview
Have passed hcip and joined the company of your choice, and share the learning experience and experience of Huawei certification
Explanation of history and chemical properties of Worthington ribonuclease B
【TA-霜狼_may-《百人计划》】图形3.6 纹理压缩——包体瘦身术
EN 1873屋面用装配附件.塑料单个屋面灯—CE认证
Eye of depth (18) -- partial derivative
Powercli VMware vCenter deploys conventional new VMS in batch through self built PXE server with one click
Use pytoch to quickly train the network model
Detailed explanation of 9 common reasons for MySQL index failure
VMware VCSA 7.0 Install
随机推荐
Where is the DP interface of desktop computer (what if the host has no DP interface)
Eight performance analysis indicators of effective supply chain management (Part 1)
Application of Devops in Internet of things solutions
【小程序项目开发 -- 京东商城】uni-app 商品分类页面(上)
Powercli VMware vCenter deploys conventional new VMS in batch through self built PXE server with one click
Intelligent trash can (VII) -- Introduction and use of sg90 steering gear (Pico implementation of raspberry pie)
PowerCLi 批量添加esxi到vCenter
GhostNets on Heterogeneous Devices via Cheap Operations
What do you need to bring with you for the NPDP exam? Stationery carrying instructions
软件设计师的错题汇总
Connection pool - return connection details (Part 2)
【MySQL 8】Generated Invisible Primary Keys(GIPK)
Field injection is not recommended solution
VirtualLab基础实验教程-8.傅里叶变换(1)
PowerCL 批量创建及管理虚拟交换机
SAP temporary tablespace error handling
With the help of rpa+lcap, the enterprise treasurer management can be upgraded digitally
Leetcode59. Spiral matrix II
连接池-归还连接详解(下)
Websocket heartbeat mechanism (keep alive mechanism)