Alessandro_Kuramoto

How to find out which process is listening upon a port in Solaris

Blog Post created by Alessandro_Kuramoto Employee on Apr 5, 2018

You can use the ps and netstat command:

 

To show the process PID:

 

Example:

 

Getting the PID:
ps -ef | grep <Process_Name>

 

 

To show the IP, port, PID, and other details in Listen State
netstat -anu | grep -i LIST

Outcomes