Linux查看端口占用进程 Linux查看端口占用进程 netstat -anlp|grep 8081 tcp 0 0 0.0.0.0:8081 0.0.0.0:* LISTEN 3195/java 此处3195为进程ID