查看进程占用ps aux 查看进程父子占用ps -ef 筛选ps aux | grep xxx 查看某个进程netstat -anp | grep 6666 查看端口netstat -nlp | grep 6666