Is there an equivalent command in Solaris to 'netstat -natp' on any Linux machine? That command will show you all the ports that are in use and which PID is attached to each one. For example, if I wanted to see if port 80 was in use, I would do...
Now, if I wanted to see which process was attached to port 80...
What is the easiet way to do this on Solaris since those options to netstat don't exist?
Thanks
Code:
root@usilap34t root# netstat -nat | grep :80
tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN
Code:
root@usilap34t root# netstat -natp | grep :80
tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN 18018/httpd
Thanks