How I can print the list of IP addresses from iftop output sorted by bandwidth usage?
Asked
Active
Viewed 1,266 times
2
Zumo de Vidrio
- 1,703
- 1
- 13
- 28
Riki
- 23
- 4
-
Isn't the default behavior of `iftop` to order by traffic usage? – Jan 20 '17 at 13:11
1 Answers
0
From man page of iftop:
DISPLAY ORDER
By default, the display is ordered according to the 10s average (2nd column). By pressing 1, 2 or 3 it is possible to sort by the 1st, 2nd or 3rd column. By pressing < or > the display will be sorted by source or destination hostname respectively.
Also you can see what every column shows:
sort: (2s|10s|40s|source|destination)
Sets which column is used to sort the display.
G-Man Says 'Reinstate Monica'
- 22,130
- 27
- 68
- 117
Christos Takaridis
- 16
- 2
-
-
1st column shows last 2 seconds traffic, 2nd 10 seconds and so on... Pretty straightforward I think. That's why I didn't write anything else. – Christos Takaridis May 13 '22 at 07:49