FBSD 5.4 - netstat -p tcp
Will Maier
willmaier at ml1.net
Fri Sep 30 13:05:58 PDT 2005
> > On 9/30/05, Brian Henning <henninb at gmail.com> wrote:
> > > Using FBSD 5.4 and trying to see if there are open ports on my
> > > machine. when i use netstat -p tcp, it yields no results, but i know
> > > for a fact that i am running an sshd server on the machine because i
> > > am logged in remotely with putty.
> On 9/30/05, Andrew P. <infofarmer at gmail.com> wrote:
> > Try the -a switch:
> > # netstat -ap tcp
On Fri, Sep 30, 2005 at 11:35:08AM -0500, Brian Henning wrote:
> i have tried that with no luck :(
(Please don't top post -- I've reordered the quoted sections above)
lsof often works for me where sockstat (sockstat -4) or netstat
haven't:
# lsof -ni
--
o--------------------------{ Will Maier }--------------------------o
| jabber:..wcmaier at jabber.ccc.de | email:..........wcmaier at ml1.net |
| \.........wcmaier at cae.wisc.edu | \..........wcmaier at cae.wisc.edu |
*------------------[ BSD Unix: Live Free or Die ]------------------*
More information about the freebsd-questions
mailing list