Sockets in use

Is there a way to see what sockets are in use? The developers here are getting some defunct processes and they would like to get a socket list.

This is on a Solaris 8 machine.

Thanks!

netstat -a or netstat -an will give you a list of all sockets in use.