QUOTE:原帖由 hanxing1026 于 2008-5-26 11:46 发表

在命令行终端下,root用户执行 netstat -lnp
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp ...
应该可以看到吧
[root@test ~]# netstat -lnp
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 127.0.0.1:199 0.0.0.0:* LISTEN 2238/snmpd
tcp 0 0 0.0.0.0:873 0.0.0.0:* LISTEN 2315/xinetd
tcp 0 0 0.0.0.0:3306 0.0.0.0:* LISTEN 2372/mysqld
tcp 0 0 0.0.0.0:943 0.0.0.0:* LISTEN 2033/rpc.statd
tcp 0 0 0.0.0.0:111 0.0.0.0:* LISTEN 1998/portmap
最后那个不是吗
例如第三行3306端口就是mysqld