mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-01-30 08:41:35 +00:00
26 lines
474 B
Plaintext
26 lines
474 B
Plaintext
---
|
|
syntax: markdown
|
|
tags: [tldr, linux]
|
|
source: https://github.com/tldr-pages/tldr.git
|
|
---
|
|
# nethogs
|
|
|
|
> Monitor bandwidth usage per process.
|
|
> More information: <https://github.com/raboof/nethogs>.
|
|
|
|
- Start NetHogs as root (default device is `eth0`):
|
|
|
|
`sudo nethogs`
|
|
|
|
- Monitor bandwidth on specific device:
|
|
|
|
`sudo nethogs {{device}}`
|
|
|
|
- Monitor bandwidth on multiple devices:
|
|
|
|
`sudo nethogs {{device1}} {{device2}}`
|
|
|
|
- Specify refresh rate:
|
|
|
|
`sudo nethogs -t {{seconds}}`
|