1.根据端口号查询进程ID
netstat -apn | grep 8088
2.根据进程ID查询启动的句柄(socket)第一种方法(不推荐)
ps -aux | grep 1205
第二种方法(推荐)lsof -p 1205