[NTLUG:Discuss] Re: port busy - How do I kill or shutdown listen?

Bryan J. Smith b.j.smith at ieee.org
Fri Aug 5 22:21:45 CDT 2005


On Fri, 2005-08-05 at 19:24 -0500, Robert Thompson wrote:
> You'll want to use the -i option for lsof (list open files). Here are 
> the options from the man pages:
> -i [46][protocol][@hostname|hostaddr][:service|port]
> So to see what's running on that port you could use the following:
> # lsof -i :9050

Yep.  I like to install lsof on all UNIX flavors it has been ported to
because netstat and other tools can vary.  And you can easily run down
sockets to processes to open files in no time.

-- 
Bryan J. Smith     b.j.smith at ieee.org     http://thebs413.blogspot.com
----------------------------------------------------------------------
The best things in life are NOT free - which is why life is easiest if
you save all the bills until you can share them with the perfect woman





More information about the Discuss mailing list