1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-29 23:24:55 +02:00
tldr/pages/linux/nethogs.md

21 lines
382 B
Markdown
Raw Normal View History

2016-01-05 20:54:50 +01:00
# nethogs
> Monitor bandwidth usage per process.
2020-12-22 13:28:04 +00:00
> More information: <https://github.com/raboof/nethogs>.
2016-01-05 20:54:50 +01:00
- Start NetHogs as root (default device is `eth0`):
2016-01-05 20:54:50 +01:00
`sudo nethogs`
- Monitor bandwidth on specific device:
2016-01-05 20:54:50 +01:00
`sudo nethogs {{device}}`
- Monitor bandwidth on multiple devices:
2016-01-05 20:54:50 +01:00
`sudo nethogs {{device1}} {{device2}}`
- Specify refresh rate:
2016-01-05 20:54:50 +01:00
`sudo nethogs -t {{seconds}}`