Is anyone aware of a way of getting the equivalent of "netstat -b" (Windows XP Pro) which lists the binaries associated with their respective ports?
Sample result:
C:\>netstat -b
TCP wxp10168:2786 eg-www.apple.com:http ESTABLISHED 1688
[FIREFOX.EXE]
C:\>
Hi Jav,
There is a netstat command on OS X but it doesn't show the process monitoring the port. As Nathan says, lsof is the ticket. However, when invoked as a regular user, lsof only lists processes owned by that user. In order to check all ports, the command should be run as root via sudo.
--
Gary
~~~~
Shift to the left,
Shift to the right,
Mask in, mask out,
BYTE, BYTE, BYTE !!!