netstat -anp | grep portno,查看端口号
ls -l /proc/pid查看进程目录
linux常用命令
原文:http://www.cnblogs.com/czcuestc/p/3531707.html