From owner-freebsd-hackers Mon Feb 11 4: 0:54 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from apache.metrocom.ru (www.metrocom.ru [195.5.128.139]) by hub.freebsd.org (Postfix) with ESMTP id 722AB37B41D for ; Mon, 11 Feb 2002 04:00:23 -0800 (PST) Received: from apache.metrocom.ru (apache.metrocom.ru [195.5.128.150]) by apache.metrocom.ru (8.12.1/8.12.1) with ESMTP id g1BC0Kuo001890 for ; Mon, 11 Feb 2002 15:00:21 +0300 (MSK) Date: Mon, 11 Feb 2002 15:00:20 +0300 (MSK) From: Varshavchick Alexander To: freebsd-hackers@FreeBSD.ORG Subject: lsof and listening processes on 4.5 In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi folks, Is it normal that lsof utility doesn't display the process that are listening specified TCP sockets any more? For example, here are the examples of the lsof output of 'lsof -i|grep inetd' command on FreeBSD 4.3 and 4.5: 4.3: inetd 157 root 4 IPv4 0xeee7f720 0t0 TCP *:ftp (LISTEN) inetd 157 root 5 IPv4 0xeee7f500 0t0 TCP *:telnet (LISTEN) inetd 157 root 6 IPv6 0xeee7f2e0 0t0 TCP *:telnet (LISTEN) 4.5: inetd 180 root 4 IPv4 0xeb159cc0 0t0 TCP *:* inetd 180 root 5 IPv4 0xeb15adc0 0t0 TCP *:5611->*:49308 inetd 180 root 6 IPv4 0xeb15aba0 0t0 TCP *:5611->*:49325 How can it be that it doesn't show the ports on which inetd is listening? How can this info be retrieved on 4.5 at all, are there some other ways for doing it? Alexander Varshavchick, Metrocom Joint Stock Company Phone: (812)118-3322, 118-3115(fax) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message