Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 4 Mar 2000 17:14:39 -0600 (CST)
From:      Joe <joe@team7.cba.ualr.edu>
To:        Dan Nelson <dnelson@emsphone.com>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: sockstat not reporting all
Message-ID:  <Pine.BSF.4.21.0003041708040.14111-100000@team7.cba.ualr.edu>
In-Reply-To: <20000304163442.A65397@dan.emsphone.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 4 Mar 2000, Dan Nelson wrote:

> Date: Sat, 4 Mar 2000 16:34:42 -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
> 
> In the last episode (Mar 04), Joe said:
> > 
> > Should sockstat be reporting more info?
> > 
> > 
> > team7# sockstat
> > USER     COMMAND    PID   FD PROTO  LOCAL ADDRESS         FOREIGN ADDRESS
> > root     sshd1    13864    5
> > root     sshd1    13744    5
> [etc]
> 
> 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.
> 
> -- 
> 	Dan Nelson
> 	dnelson@emsphone.com
> 


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
fffffe000624f200 tcp4  0   0  *.25               *.*                 LISTEN
fffffe000624f560 tcp4  0   0  *.110              *.*                 LISTEN
fffffe000624f8c0 tcp4  0   0  *.79               *.*                 LISTEN
fffffe000624fc20 tcp4  0   0  *.21               *.*                 LISTEN
fffffe00061bbe60 udp4  0   0  *.514              *.*

Well...looks like its working to me.


-joe



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?Pine.BSF.4.21.0003041708040.14111-100000>