Recently, the company's traffic suddenly increased, after inquiring about the room, a total of two server traffic is relatively large. One is the resources to provide download upload (normal), there is a club, Member login Center traffic is very large (not normal). All install a iftop tool to see the network card, as well as the traffic accounted for by IP. Also looked up some information on the Internet. This tool is still very useful, can clearly see the network card and the external network connected IP average 2s of traffic. Here are the steps.
1. Yum install-y Flex BYACC libpcap ncurses ncurses-devel libpcap-devel
Installation library files, Libpcap and libcurses
2. Go to the official website to download the source package
wget Http://www.ex-parrot.com/~pdw/iftop/download/iftop-0.17.tar.gz
3.tar XF iftop-0.17.tar.gz
CD iftop-0.17.tar.gz
./configure--prefix=/usr/local/iftop
make$ $make Install
Cp/usr/local/iftop/sbin/iftop/bin
4. Running
Iftop-i eth0
Iftop-i Eth0-n-P monitoring what is the service
Iftop-h View Parameters
This article is from the "full of Handsome Technology blog" blog, please be sure to keep this source http://manyushuai.blog.51cto.com/8818545/1765912
Iftop monitoring network card, IP traffic