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