mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-22 01:02:09 +02:00
nethogs: add page
Added sudo
This commit is contained in:
parent
1492161348
commit
875e59f44b
1 changed files with 19 additions and 0 deletions
19
pages/linux/nethogs.md
Normal file
19
pages/linux/nethogs.md
Normal file
|
@ -0,0 +1,19 @@
|
|||
# nethogs
|
||||
|
||||
> Monitor bandwidth usage per process
|
||||
|
||||
- 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}}`
|
Loading…
Add table
Reference in a new issue