mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-08-23 14:24:13 +02:00
netstat: add Chinese translation
This commit is contained in:
parent
e9a5e04092
commit
d170d97224
1 changed files with 27 additions and 0 deletions
27
pages.zh/osx/netstat.md
Normal file
27
pages.zh/osx/netstat.md
Normal file
|
@ -0,0 +1,27 @@
|
|||
# netstat
|
||||
|
||||
> 显示与网络相关的信息,如打开的连接、打开的套接字端口等.
|
||||
|
||||
- 列出所有端口:
|
||||
|
||||
`netstat -a`
|
||||
|
||||
- 列出所有被侦听端口:
|
||||
|
||||
`netstat -l`
|
||||
|
||||
- 列出侦听的TCP端口:
|
||||
|
||||
`netstat -t`
|
||||
|
||||
- 显示监听给定协议监听的PID和程序名:
|
||||
|
||||
`netstat -p {协议}`
|
||||
|
||||
- 连续列出信息(这条我电脑里netstat是不支持的.谁明白麻烦提交pr!):
|
||||
|
||||
`netstat -c`
|
||||
|
||||
- 打印路由表:
|
||||
|
||||
`netstat -nr`
|
Loading…
Add table
Reference in a new issue