I found that a Linux host on the team suddenly took 20 GB of traffic one day !!! I heard that the iftop tool is good and I decided to install one for the server. 1. iftop requires at least two packages: libpcap (for packet capture) ncurses (for display, for example, the famous & quot; clear & quot; command is in this package) 2 .... I found that a Linux host on the team suddenly took 20 GB of traffic one day !!!
I heard that the iftop tool is good and I decided to install one for the server.
1. iftop requires at least two packages
Libpcap (for packet capture)
Ncurses (for display, for example, the famous "clear" command is in this package)
2. source code
Http://www.tcpdump.org/
Http://ftp.gnu.org/pub/gnu/ncurses/
Then./configure --> make install
3. finally to http://www.ex-parrot.com /~ Pdw/iftop/
Download iftop and install the trilogy.
Possible problems:
Checking POSIX threads usability... Configure: error: it fails. We probably guessed the wrong CFLAGS.
It is likely that the libpcap. so file cannot be found. libpcap. so.0 libpcap. so.0.9.5 is found under/usr/lib.
This version is proved to be available, but is not recognized. make a soft connection ln-s libpcap. so.9.5 libpcap. so
OK! It is also convenient to change the version.
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.