I need to list all ports that a process in Solaris is listening to (similar to 'lsof -i -P' in Linux). Unfortunately the lsof command doesn't work, and I can't install it either. Is there any options? I've tried some netstat commands, but that doesn't show the port or pid.
a nice script using the command pfiles: http://www.oracle.com/technetwork/systems/security/pcp-149863.txt
Vince