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:[EMAIL PROTECTED] Sent: Sunday, August 17, 2003 10:14 PM To: [EMAIL PROTECTED] 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 [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]