mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-12 03:47:38 +00:00
Update cheatsheets
This commit is contained in:
25
linux/nethogs
Normal file
25
linux/nethogs
Normal file
@@ -0,0 +1,25 @@
|
||||
---
|
||||
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}}`
|
||||
Reference in New Issue
Block a user