当先锋百科网

首页 1 2 3 4 5 6 7

whoplisp..

21

你可以使用netstat.您应该查看"本地地址"和"PID /程序名称"列.

xxx@xxx:~$ netstat -tulpen

(Not all processes could be identified, non-owned process info

will not be shown, you would have to be root to see it all.)

Active Internet connections (only servers)

Proto Recv-Q Send-Q Local Address Foreign Address State User Inode PID/Program name

tcp 0 0 127.0.0.1:4005 0.0.0.0:* LISTEN 1000 68449 7559/sbcl

tcp 0 0 0.0.0.0:6000 0.0.0.0:* LISTEN 0 3938 -

tcp6 0 0 :::6000 :::* LISTEN 0 3937 -

udp 0 0 0.0.0.0:68 0.0.0.0:* 0 4528 -