RE: What service is using a port? - Solved
Thanks Nate. fuser worked perfectly.
What it turned out to be was inetd watching the port so it could run samba
on demand. Unfortunatly Samba was also in the run level scripts. I
installed from the .deb using stable sources so I'm kind of puzzled about
how this happened and why it worked at first (with [smbd] plainly visible in
the output of ps aux) and then stopped.
Just very odd.
Thanks for the help.
John Purser
-----Original Message-----
From: nate [mailto:debian-user@aphroland.org]
Sent: Sunday, August 17, 2003 10:14 PM
To: debian-user@lists.debian.org
Subject: Re: What service is using a port?
> so I'm trying to find out what's using port 139 that wasn't doing so
> yesterday.
fuser -n tcp 139
then run ps auxw | grep <pid> where <pid> is what fuser says is using
the port
if nothing shows up try netstat -an | grep 139
netstat -anp works well but I use fuser out of habbit
nate
(my first post to debian-user in over a month! 60+hour work weeks
are hectic!! aaah)
--
To UNSUBSCRIBE, email to debian-user-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact
listmaster@lists.debian.org
Reply to: