酷!學園
技術討論區 => Linux 討論版 => 主題作者是: unitcell 於 2008-01-10 00:41
-
Hi all,
RedHat 8 下 netstat -l, 其列表如下,
----------------------------------------------------------------------------
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State
tcp 0 0 *:32768 *:* LISTEN
tcp 0 0 pos.guy:32769 *:* LISTEN
tcp 0 0 *:mysql *:* LISTEN
tcp 0 0 *:sunrpc *:* LISTEN
tcp 0 0 *:ssh *:* LISTEN
tcp 0 0 *:telnet *:* LISTEN
tcp 0 0 *:ipp *:* LISTEN
udp 0 0 *:32768 *:*
udp 0 0 *:784 *:*
udp 0 0 *:sunrpc *:*
udp 0 0 *:631 *:*
Active UNIX domain sockets (only servers)
Proto RefCnt Flags Type State I-Node Path
unix 2 [ ACC ] STREAM LISTENING 1646 /tmp/mysql.sock
--------------------------------------------------------------------------------
如何查知Port:784是何支程式在跑?
Thanx.
-
多個 -p 參數即可。
--
-
man netstat