Find the owner of a socket? or Where is sockstat(1)
If so, is there another convenient way to find the same information?
Late 2006 24" iMac, Mac OS X (10.6.3)
Late 2006 24" iMac, Mac OS X (10.6.3)
lsof -i [46][protocol][@hostname|hostaddr][:service|port]
sudo lsof -i 4tcp:631
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
launchd 1 root 19u IPv4 0x0480bb4c 0t0 TCP localhost:ipp (LISTEN)
cupsd 19 root 6u IPv4 0x0480bb4c 0t0 TCP localhost:ipp (LISTEN)
Find the owner of a socket? or Where is sockstat(1)