[lug] ports

Sean Reifschneider jafo at tummy.com
Mon Oct 2 19:03:45 MDT 2000


On Mon, Oct 02, 2000 at 06:59:24PM -0600, llornkcor wrote:
>Is there any command to find the executable thats responsible for 
>listening to a given port?

[root at dev /root]# fuser -n tcp 25
25/tcp:                462
[root at dev /root]# ps -awlx | grep 462
100   102   462   457   0   0  1304   68 wait_f S    ?          0:07 tcpserver -u 102 -g 16 -c 20 -v -x /etc/tcpcontrol/smtp.cdb 0 s
[root at dev /root]# 

So, tcpserver is running on port 25/tcp.

Sean
-- 
 Put out fires during the daytime.  Do your real work at night.
 Sleep is just an addiction.  -- Dieter Muller
Sean Reifschneider, Inimitably Superfluous <jafo at tummy.com>
tummy.com - Linux Consulting since 1995. Qmail, KRUD, Firewalls, Python




More information about the LUG mailing list