tldr/pages/linux/nethogs.md

20 lines
323 B
Markdown
Raw Normal View History

2016-01-05 22:54:50 +03:00
# nethogs
> Monitor bandwidth usage per process.
2016-01-05 22:54:50 +03:00
- Start nethogs as root (default device is eth0):
2016-01-05 22:54:50 +03:00
`sudo nethogs`
- Monitor bandwidth on specific device:
2016-01-05 22:54:50 +03:00
`sudo nethogs {{device}}`
- Monitor bandwidth on multiple devices:
2016-01-05 22:54:50 +03:00
`sudo nethogs {{device1}} {{device2}}`
- Specify refresh rate:
2016-01-05 22:54:50 +03:00
`sudo nethogs -t {{seconds}}`