Skip to main content

查询指定端口的进程

查询3306端口的链接进程:

netstat -anp|grep 3306|grep EST

查询PHP使用3306端口的链接进程:

netstat - anp|grep 3306|grep EST|grep php