mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-01-26 11:33:59 +00:00
26 lines
467 B
Plaintext
26 lines
467 B
Plaintext
---
|
|
syntax: markdown
|
|
tags: [tldr, linux]
|
|
source: https://github.com/tldr-pages/tldr.git
|
|
---
|
|
# nethogs
|
|
|
|
> Monitor bandwidth usage per process.
|
|
> More information: <https://manned.org/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}}`
|