Re: lsof not listing open tcp sockets in linux-2.4

From: Matti Aarnio (matti.aarnio@zmailer.org)
Date: Wed Jan 17 2001 - 17:44:37 EST


On Wed, Jan 17, 2001 at 03:28:15PM -0600, William L. Jones wrote:
> lsof in redhat 7.0 with a the linux-2.4 kernel does does not report
> open tcp socket info. Does anyone have a fix for this?

        Hmm.. Not, but apparently "lsof" missed reading
                /proc/net/packet
                /proc/net/raw6
        files.

        Most sockets it can't determine are apparently perfectly normal
        things, like those in /proc/net/tcp -- hmm..

        I see, 2.4 series has more fields on the line appended to
        those that were there previously, and lsof goes ballistic.
        Simultaneously 'netstat' is happy.

        Could you put this to RedHat bugzilla ?

> Bill Jones

/Matti Aarnio
-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to majordomo@vger.kernel.org



This archive was generated by hypermail 2b29 : Tue Jan 23 2001 - 21:00:32 EST