mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-03-28 21:16:20 +01:00
nettop: add page (#6254)
This commit is contained in:
parent
cfa311ad0c
commit
27dd607f59
1 changed files with 35 additions and 0 deletions
35
pages/osx/nettop.md
Normal file
35
pages/osx/nettop.md
Normal file
|
@ -0,0 +1,35 @@
|
|||
# nettop
|
||||
|
||||
> Display updated information about the network.
|
||||
|
||||
- Monitor TCP and UDP sockets from all interfaces:
|
||||
|
||||
`nettop`
|
||||
|
||||
- Monitor TCP sockets from Loopback interfaces:
|
||||
|
||||
`nettop -m {{tcp}} -t {{loopback}}`
|
||||
|
||||
- Monitor a specific process:
|
||||
|
||||
`nettop -p {{process_id|process_name}}`
|
||||
|
||||
- Display a per-process summary:
|
||||
|
||||
`nettop -P`
|
||||
|
||||
- Print 10 samples of network information:
|
||||
|
||||
`nettop -l {{10}}`
|
||||
|
||||
- Monitor changes every 5 seconds:
|
||||
|
||||
`nettop -d -s {{5}}`
|
||||
|
||||
- While running nettop, list interactive commands:
|
||||
|
||||
`h`
|
||||
|
||||
- Display help:
|
||||
|
||||
`nettop -h`
|
Loading…
Add table
Reference in a new issue