Using iptraf for network monitoring in Linux system

Time:2021-7-25

iptrafIt is an IP LAN monitoring tool developed based on ncurses. It can generate various network statistics, including TCP information, UDP statistics, ICMP and OSPF information, Ethernet load information, node statistics, IP checksum errors and other information.

Its ncurses based user interface will also save users from the nightmare of command-line options.
function

    An IP traffic monitor used to display IP traffic information through the network, including TCP identification information, packet and byte statistics, ICMP details and OSPF packet types
    Displays comprehensive and detailed interface statistics of IP, TCP, UDP, ICMP, non IP and other IP packet counts, IP checksum errors, interface activity, and packet size counts
    A TCP and UDP service monitor for counting incoming and outgoing packets of common TCP and UDP application ports
    A LAN statistics module for discovering active hosts and displaying the data activity of these active hosts
    The display filters of TCP, UDP and other protocols allow you to view the traffic you are interested in
    Logging
    Support Ethernet, FDDI, ISDN, slip, PPP and loopback interface types
    Using the native socket interface built in Linux kernel, it can be used for a wide range of supported network cards
    Full screen, menu driven operation

To install

Ubuntu and its derivatives

   

Copy code

The code is as follows:

sudo apt-get install iptraf

Arch Linux and its derivatives

   

Copy code

The code is as follows:

sudo pacman -S iptra

Fedora and its derivatives

   

Copy code

The code is as follows:

sudo yum install iptraf

usage

If the iptraf command is executed without any command line options, the program will appear in interactive mode, and a variety of tools can be obtained from the main menu.
2015724190511815.png (658×435)

Easy to navigate menu.
2015724190533668.png (658×435)

Select the interface to monitor.
2015724190556395.png (658×435)

Traffic from ppp0 interface
2015724190612188.png (658×435)

I wish you like it.

Recommended Today

VBS obtains the operating system and its version number

VBS obtains the operating system and its version number ? 1 2 3 4 5 6 7 8 9 10 11 12 ‘************************************** ‘*by r05e ‘* operating system and its version number ‘************************************** strComputer = “.” Set objWMIService = GetObject(“winmgmts:” _  & “{impersonationLevel=impersonate}!\\” & strComputer & “\root\cimv2”) Set colOperatingSystems = objWMIService.ExecQuery _  (“Select * from […]