netstat -anp

Hi

Which options can I use to show program with its open ports on AIX?. Just like netstat on linux does:

netstat -anp|grep 25
tcp        0      0 127.0.0.1:25                0.0.0.0:*                   LISTEN      2112/sendmail: acce

Thanks

Moved to AIX subforum.

Use either lsof or rmsock: IBM - Who's using my port?

Hi zaxxon..

Really sorry about the missing code tags.. with lsof -i :port I solved my problem.. thanks..