Introduction to the use of iftop in Linux flow monitoring tools

Source: Internet
Author: User

Today introduced a Linux under the monitoring of real-time broadband use of software iftop,iftop can view the flow of dynamic, to help you solve, find the network slow problem.
Of course, check the network card traffic tools and Iptraf, nethogs and so on, the main recommended today iftop!
Software Installation:


cd/byrd/tools/
wget http://www.ex-parrot.com/~pdw/iftop/download/iftop-0.17.tar.gz
Tar zxf iftop-0.17.tar.gz
CD iftop-0.17
Yum Install Flex BYACC libpcap ncurses ncurses-devel libpcap-devel
./configure--prefix=/byrd/service/iftop-0.17
Make && make install

Software parameters:


[Root@hk iftop-0.17]#/byrd/service/iftop-0.17/sbin/iftop-h
Iftop:display bandwidth usage on a interface by host

synopsis:iftop-h | [-NPBBP] [I. Interface] [-F Filter Code] [-N Net/mask]

-H Display this message
-N don ' t do hostname lookups
-N don ' t convert port numbers to services
-P run in promiscuous mode (show traffic between
Hosts on the same network segment)
-B don ' t display a bar graph of traffic
-B Display Bandwidth in bytes
-I interface listen on named interface
-F Filter Code use filter code to select packets to Count
(Default:none, but only IP packets are counted)
-F Net/mask Show traffic flows in/out of network
-P show ports as as a hosts
-m limit sets the upper limit for the bandwidth scale
-C config file specifies an alternative configuration file

Iftop, version 0.17
Copyright (c) 2002 Paul Warren <pdw@ex-parrot.com> and contributors

Interface Description:


"<=" and "=>" indicate the direction of flow

"TX": Traffic emitted from the NIC
"RX": Network card receive traffic
"Total": Network card to send and receive traffic
"Cum": Total traffic from iftop to the current point in time
"Peak": Network card traffic Peak
"Rates": Represents the most recent 2s, 10s, 40s average traffic

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.