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