Changes between Initial Version and Version 1 of iftop


Ignore:
Timestamp:
Jun 1, 2011, 6:36:05 PM (14 years ago)
Author:
Daniel Kahn Gillmor
Comment:

Imported by the author from http://cmrg.fifthhorseman.net/wiki/iftop

Legend:

Unmodified
Added
Removed
Modified
  • iftop

    v1 v1  
     1= using `iftop` =
     2
     3If you've got a gateway machine for a LAN, and the LAN is seeing congestion on the upstream link, you might want to figure out which client is causing the most traffic.
     4
     5You should:
     6{{{
     7aptitude install iftop
     8}}}
     9
     10then, (also as the superuser), do:
     11
     12{{{
     13iftop -i "$LAN"
     14}}}
     15(where `$LAN` is the  name of your internally-connected interface).
     16
     17then press `s` once to "hide the source hosts" (this seems backwards to me -- shouldn't it be "dest"?), which causes `iftop` to aggregate throughput by local machines.  you can then press 1, 2, or 3 to sort by total traffic in the last 2, 10, or 40 seconds, respectively.  If there's a single culprit, it should rise to the top.