On this page you find all important commands for the CLI tool iftop. If the
command you are looking for is missing please ask our AI.
iftop
Iftop is a command line tool used for monitoring network traffic in real-time. It provides a real-time display of the current bandwidth usage for each network interface on the system.
- Iftop stands for "interface top" and is primarily used for analyzing network connections and identifying network bottlenecks.
- It continuously displays a list of network connections along with their source and destination IP addresses, ports, and bandwidth usage.
- The tool uses the pcap library to capture and process network packets, making it compatible with most Unix-like operating systems.
- Iftop provides both a live and cumulative view of the network traffic, allowing users to analyze data over different time intervals.
- The display can be sorted based on various criteria such as total bandwidth, connections per second, or source/destination IP addresses.
- It includes options to filter network traffic based on source or destination IP addresses, network ports, or protocols.
- Iftop also supports IPv6 and can display information about IPv6 connections.
- The tool offers continuous updating of the display, allowing users to monitor network traffic in real-time without constantly refreshing the output.
- It supports color-coded output, making it easier to identify different types of network traffic.
- Iftop requires root or superuser privileges to capture network packets, so running it as a regular user may not provide complete data.
List of commands for iftop:
-
iftop:tldr:1959d iftop: Show the bandwidth usage.$ sudo iftoptry on your machineexplain this command
-
iftop:tldr:6c405 iftop: Show the bandwidth usage with port information.$ sudo iftop -Ptry on your machineexplain this command
-
iftop:tldr:6dbdb iftop: Show the bandwidth usage of a given interface.$ sudo iftop -i ${interface}try on your machineexplain this command
-
iftop:tldr:9509b iftop: Do not look up hostnames.$ sudo iftop -ntry on your machineexplain this command
-
iftop:tldr:cd24c iftop: Do not show bar graphs of traffic.$ sudo iftop -btry on your machineexplain this command