![Forrest logo](/images/logo.png)
iftop:tldr:9509b
iftop: Do not look up hostnames.
$ sudo iftop -n
try on your machine
The command "sudo iftop -n" is used to execute the iftop command with elevated privileges (using the sudo command), and the "-n" option is passed to iftop.
The iftop command is a network monitoring tool that allows you to view the bandwidth utilization on a network interface in real-time. It captures network traffic on a specific interface and displays various information about the current network connections, such as the source and destination IP addresses, protocol, and the amount of data being transferred.
The "-n" option passed to iftop instructs it to display the network addresses numerically (in IP format) instead of resolving them to host names. This can provide a faster output as it avoids the need for reverse DNS lookups.
This explanation was created by an AI. In most cases those are correct. But please always be careful and
never run a command you are not sure if it is safe.