Windows:
C:> netstat -ano
可以查出pid
AIX:
#netstat –Aan | grep 8083
# rmsock f100060000484b98 tcpcb
Linux:
#netstat -anp | grep 8083
# ps -ef | grep pid
查询不同系统网络进程PID
本文介绍了如何在Windows、AIX及Linux系统中通过命令行工具查询指定端口的网络进程及其PID。针对每个操作系统提供了具体的命令实例。
Windows:
C:> netstat -ano
可以查出pid
AIX:
#netstat –Aan | grep 8083
# rmsock f100060000484b98 tcpcb
Linux:
#netstat -anp | grep 8083
# ps -ef | grep pid
614
1912
1054

被折叠的 条评论
为什么被折叠?