From: "Kirby C. Bohling" Date: Mon, 10 Mar 2003 04:11:38 +0000 Subject: Re: [LARTC] proc interface to netstat Message-Id: List-Id: References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: lartc@vger.kernel.org Hmmm, If you feel like decoding it, try: /proc/net/{udp,unix,tcp} At least on my RH 7.2 machine with a RedHat 2.4.18 kernel, that's where it is. Those will tell you about udp/unix/tcp respectively. Not sure all the information is there for tcp/udp, but it looks like it is for unix. You might try and see where netstat gets the information from, I wouldn't be shocked to find out it's from /proc/net/*. Kirby On Sun, 2003-03-09 at 21:59, mingching.tiew@redtone.com wrote: > If i would like to gather information based on 'netstat -an' or > something similar, can I get it from proc file system ? > > > > > _______________________________________________ > LARTC mailing list / LARTC@mailman.ds9a.nl > http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/ > -- Real Programmers view electronic multimedia files with a hex editor. _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/