This website requires JavaScript.
Explore
Help
Register
Sign In
Kister
/
My-Notes
Watch
1
Star
0
Fork
0
You've already forked My-Notes
Code
Issues
Pull Requests
Actions
Packages
Projects
Releases
Wiki
Activity
Files
d7073a2292ec351d93713ca39045abdb05d7fdf0
My-Notes
/
笔记
/
Linux
/
基础指令
/
netstat.md
T
Kister
d7073a2292
C#笔记更新
2026-08-09 12:41:53 +08:00
234 B
Raw
Blame
History
netstat [-anp] [| grep 端口号]
过时,推荐使用ss(同参数)
作用:查看端口的占用情况
参数:
a:所有端口
n:以数字显示
p:显示进程PID和名称
示例:
netstat -anp | grep 80
Reference in New Issue
View Git Blame
Copy Permalink