mirror of
https://github.com/tldr-pages/tldr.git
synced 2024-11-12 04:54:52 +03:00
29 lines
452 B
Markdown
29 lines
452 B
Markdown
|
# iftop
|
||
|
|
||
|
> Show bandwidth usage on an interface by host.
|
||
|
> More information: <https://linux.die.net/man/8/iftop>.
|
||
|
|
||
|
- Show the bandwidth usage:
|
||
|
|
||
|
`sudo iftop`
|
||
|
|
||
|
- Show the bandwidth usage of a given interface:
|
||
|
|
||
|
`sudo iftop -i {{interface}}`
|
||
|
|
||
|
- Show the bandwidth usage with port information:
|
||
|
|
||
|
`sudo iftop -P`
|
||
|
|
||
|
- Do not show bar graphs of traffic:
|
||
|
|
||
|
`sudo iftop -b`
|
||
|
|
||
|
- Do not look up hostnames:
|
||
|
|
||
|
`sudo iftop -n`
|
||
|
|
||
|
- Get help about interactive commands:
|
||
|
|
||
|
`?`
|