Run Iftop Command to Sort the Traffic Details

How to sort network traffic details using Iftop in Linux?

Command: iftop -o

You can sort the network traffic details based on source or destination or first column(last 2secs traffic) or second column(last 10secs traffic) or third column(last 40secs traffic).
→ iftop -o (source / destination / 2s / 10s / 40s)

Here, we have sorted the traffic details by source which is shown in below picture,
iftop sorting source


Related Topics