You can *also* do this with lsof:
% sudo lsof -i tcp:25
COMMAND  PID USER   FD   TYPE     DEVICE SIZE/OFF INODE NAME
sendmail 239 root    4u  inet 0x005bc810      0t0   TCP *:smtp (LISTEN)
% 

using -i  tcp:smtp  works as well, "lsof -i :domain" is an example of
finding either...


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to