netstat -anp
-a, --all, --listening display all sockets (default: connected)
-n, --numeric don‘t resolve names
-p, --programs display PID/Program name for sockets
http://www.cnblogs.com/benio/archive/2010/09/15/1826728.html
时间: 2024-11-07 15:04:45