[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: what process is using a port


On Mon, May 03, 2004 at 07:14:31PM +0200, LeVA wrote:
| Hi!
| Is there a way to figure out what program is using a port. For example I 
| want to know which process is using port 80. How can I do this?

% sudo lsof -i :80

| ps.: and another tiny question: Is it possible to see if a symlink is 
| pointing at a given file?

AFAIK, that kind of reverse mapping is not available.  I think you
will need to search through all the filesystems that might have a
symlink to the given file.  See find(1).

Best regards,

Zane Dodson

Reply to: