Which process is using port

$ netstat -lnp | grep portNo

Note the process id and process name

To see full path of process use the command , replace the processID below

ls -l /proc/processID/exe

Example

ls -l /proc/1222/exe

No comments:

Post a Comment

Please share your views and comments below.

Thank You.