Options available in `iftop` command in Linux

Options

Description

iftop

Displays basic real-time bandwidth usage of the default network interface.

-i wlo1

Shows real-time bandwidth details of a specific network interface named “wlo1”.

-n -i wlo1

Disables hostname lookup and provides bandwidth statistics for the specified interface “wlo1”.

-N -i wlo1

Disables the conversion of port numbers to services and presents bandwidth stats for the specified interface “wlo1”.

-b

Turns off the display of the bar graph representation for network traffic.

-t

Presents the output in a text interface format without using ncurses.

-o source

Sorts the output based on the source IP address of network flows.

-o destination

Sorts the output based on the destination IP address of network flows.

-L 2 -i wlo1

Specifies that only 2 lines of statistics or bandwidth usage should be printed for the interface “wlo1”.

-h

Displays the help section providing usage information and options for the iftop command.

iftop command in Linux with Examples

iftop is a network analyzing tool used by system administrators to view bandwidth-related stats. It shows a quick overview of the networking activities on an interface. It stands for Interface TOP and the top is derived from the op command in Linux. It even acts as a diagnostic to diagnose which program is causing the problem to the network.

Similar Reads

Installing iftop command

For RedHat-based Linux (version 8 or below)...

Options available in `iftop` command in Linux

...

Working with iftop Command

1. To display basic bandwidth usage of the default interface....

Conclusion

In this article we discussed ‘iftop’ command which is a valuable network analysis tool for administrators, providing real-time bandwidth usage stats and aiding in network troubleshooting. With customizable options, it offers efficient monitoring and sorting capabilities. By installing ‘iftop’ on Linux distributions, administrators can gain insights into network traffic and optimize network performance effectively....