Centos server iptraf real-time network traffic monitoring tool

Source: Internet
Author: User
IPTraf is a network monitoring tool with more powerful functions than nload. it can monitor all traffic, IP traffic, protocol-based traffic, and set filters. for example, for monitoring networks, this is more suitable and more powerful, but in the overall traffic display, there is no nload intuitive and convenient official website and download http://iptraf.seul.org/download.htmlsource code installation wgetftp://iptra

IPTraf is a network monitoring tool with more powerful functions than nload. it can monitor all traffic, IP traffic, protocol-based traffic, and set filters, such

For the monitoring network, this is more suitable and more powerful, but in the overall traffic display, there is no nload intuitive and convenient

Official website and download http://iptraf.seul.org/download.html

Source code installation

wget ftp://iptraf.seul.org/pub/iptraf/iptraf-3.0.0.tar.gztar zxvf iptraf-3.0.0.tar.gzcd iptraf-3.0.0./Setup

Yum installation

yum install -y iptraf

Use
Run iptraf directly
There is a menu prompt below, and then you can view the related options

IP traffic monitoring (IP traffic monitor)
General Interface Statistics)
Network Interface details Statistics (Detailed Interface Statistics)
Statistical Breakdowns)
LAN Station Statistics)
Filter (Filters ...)
Configuration (Configure ...)
Exit)

You can also directly add parameters or options to access
You can view the parameters and options.
[Root @ wdlinux iptraf-3.0.0] # iptraf-h

Syntax:
Iptraf [-f] [{-I iface |-g |-d iface |-s iface |-z iface |
-L iface} [-t timeout] [-B] [-L logfile] [-I interval]

Issue the iptraf command with no parameters for menu-driven operation.
These options can also be supplied to the command:

-I iface-start the IP traffic monitor (use "-I all" for all interfaces)
-G-start the general interface statistics
-D iface-start the detailed statistics facility on an interface
-S iface-start the TCP and UDP monitor on an interface
-Z iface-shows the packet size counts on an interface
-L iface-start the LAN station monitor ("-l all" for all LAN interfaces)
-B-run in background (use only with one of the above parameters)
-T timeout-when used with one of the above parameters, tells
The facility to run only for the specified number
Minutes (timeout)
-L logfile-specifies an alternate log file for any direct invocation
Of a facility from the command line. The log is placed in
/Var/log/iptraf if path is not specified.
-I interval-specifies the log interval for all facilities cannot the IP address
Traffic monitor. Value is in minutes.
-F-clear all locks and counters. Use with great caution.
Normally used to recover from an abnormal termination.

IPTraf 3.0.0 Copyright (c) Gerard Paul Java 1997-2004

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.