Real Time Interactive IP LAN Monitoring with IPTraf Tool

There are number of monitoring tools available. Moreover, i came across a IPTraf monitoring tool which i find very useful and it’s a simple tool to monitor Inbound and Outbound network traffic passing through interface.

Install IPTraf Network Monitoring

Install IPTraf LAN Monitoring

IPTraf is an ncurses-based IP LAN monitoring tool (text-based) wherein we can monitor various connections like TCP, UDP, ICMP, non-IP counts and also Ethernet load information etc.

This article guides you on how to install IPTraf monitoring tool using YUM command.

Installing IPTraf

IPTraf is part of the Linux distribution and can be installed on RHEL, CentOS and Fedora server’s using yum command from terminal.

# yum install iptraf

Under Ubuntu, iptraf can be installed using Ubuntu Software Center or ‘apt-get’ method. For example, use the ‘apt-get‘ command to install it.

$ sudo apt-get install iptraf
IPTraf Usage

Once IPTraf installed, run the following command from the terminal to launch an ascii based menu interface that will allow you to view current IP traffic monitoring, General interface statistics, Detailed interface statistics, Statistical breakdowns, Filters and also provide some configure options where you can configure as per your need.

[[email protected] ~]# iptraf
Start IPTraf

IPTraf Startup Screen

The iptraf interactive screen, displays a menu system with different options to choose from. Here are the some screenshots that shows real time IP traffic counts and interface statistics etc.

IPTraf System Menu

IPTraf System Menu

IP traffic monitor
IP Traffic Monitor

IP Traffic Monitor

General interface statistics
IPTraf General interface statistics

IPTraf General interface statistics

Detailed interface statistics
IPTraf Detailed interface statistics

IPTraf Detailed interface statistics

Statistical breakdowns
IPTraf Statistical breakdowns

IPTraf Statistical breakdowns

LAN station monitor
IPTraf LAN station monitor

IPTraf LAN station monitor

IPTraf Configure

IPTraf Configure

IPTraf Options

Using “iptraf -i” will immediately start the IP traffic monitor on a particular interface. For example, the following command will start the IP traffic on interface eth0. This is the primary interface card that attached to your system. Else you can also monitor all your network interface traffic using argument as “iptraf -i all“.

# iptraf -i eth0
IPTraf Eth0 Monitoring

IPTraf Eth0 Monitoring

Similarly, you can also monitor TCP/UDP traffic on a specific interface, using the following command.

# iptraf -s eth0
IPTraf TCP/UDP Monitoring

IPTraf TCP/UDP Monitoring

If you want to know more options and how to use them, check iptraf ‘man page‘ or use the command as ‘iptraf -help‘ for more parameters. Fore more information visit the official project page.

If You Appreciate What We Do Here On TecMint, You Should Consider:

TecMint is the fastest growing and most trusted community site for any kind of Linux Articles, Guides and Books on the web. Millions of people visit TecMint! to search or browse the thousands of published articles available FREELY to all.

If you like what you are reading, please consider buying us a coffee ( or 2 ) as a token of appreciation.

Support Us

We are thankful for your never ending support.

Ravi Saive

I am Ravi Saive, creator of TecMint. A Computer Geek and Linux Guru who loves to share tricks and tips on Internet. Most Of My Servers runs on Open Source Platform called Linux. Follow Me: Twitter, Facebook and Google+

Your name can also be listed here. Got a tip? Submit it here to become an TecMint author.

RedHat RHCE and RHCSA Certification Book
Linux Foundation LFCS and LFCE Certification Preparation Guide
The Complete Linux System Administrator Bundle
Become an Ethical Hacker Bonus Bundle

You may also like...

3 Responses

  1. aaron says:

    No offense meant, but I seem not to appreciate IPTraf a lot. I tend to find the information it displays not very “helpful”. I know Wireshark is too detailed and Etherape consumes lots of CPU resources but I think ifTop does a better job. Maybe it’s just the type of info I look at when monitoring the LAN, who knows. I like the IPTraf interface though.

  2. jerico says:

    Nice Read, do you know an application somehow similar to iptraf that can be used to configure other network related configurations like firewall? Routing?

  3. Fabio R Carvalho says:

    Hi! Do you know why the synthetic NICs from Hyper-V doesn’t show to IPtraf?
    Normally the NICs shows up like seth0.


Got something to say? Join the discussion.

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.