查看指定端口的进程

netstat -anp|grep 333

输出结果的最后一列就是pid/Program name

或者

netstat -anp|head -n 2;netstat -anp|grep 9887

原文地址:https://www.cnblogs.com/argb/p/3084211.html