Date: Sat, 4 Mar 2000 20:48:15 -0600 From: Dan Nelson <dnelson@emsphone.com> To: Joe <joe@team7.cba.ualr.edu> Cc: freebsd-questions@FreeBSD.ORG Subject: Re: sockstat not reporting all Message-ID: <20000304204815.A87662@dan.emsphone.com> In-Reply-To: <Pine.BSF.4.21.0003041708040.14111-100000@team7.cba.ualr.edu>; from "Joe" on Sat Mar 4 17:14:39 GMT 2000 References: <20000304163442.A65397@dan.emsphone.com> <Pine.BSF.4.21.0003041708040.14111-100000@team7.cba.ualr.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
In the last episode (Mar 04), Joe said: > On Sat, 4 Mar 2000, Dan Nelson wrote: > > Sockstat simply runs netstat and fstat and merges the results. It > > looks like the netstat part isn't working. See if running "netstat > > -Aan -finet" prints anything at all. > > bash-2.03$ netstat -Aan -finet > Active Internet connections (including servers) > Socket Proto Recv-Q Send-Q Local Address Foreign Address (state) > fffffe00062547e0 tcp4 0 0 144.167.120.24.22 144.167.120.221.10 ESTABLISHED > fffffe000624dc20 tcp4 0 0 144.167.120.24.22 144.167.120.221.10 ESTABLISHED > fffffe000624eb40 tcp4 0 0 *.22 *.* LISTEN > fffffe000624eea0 tcp4 0 0 *.80 *.* LISTEN > > Well...looks like its working to me. Hm. The socket address looks real funny for a 32-bit pointer. Whoops. You're on an alpha :) The next step would be to run "fstat | grep internet" and see if the last column looks anything like the first column in the netstat output above. sockstat ties the two sets of output together with those columns. -- Dan Nelson dnelson@emsphone.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000304204815.A87662>