dcsimg
Linux Today: Linux News On Internet Time.





More on LinuxToday


How to find PID of process listening on a port in Linux? netstat and lsof command examples

Nov 09, 2015, 10:00 (0 Talkback[s])

In Linux, many times, you want to find out the PID of a process which are listening on a port e.g. if multiple tomcat serversare running on a host then, how do you find the PID of the tomcat listening on port 8080? There are many UNIX commands to find the process using a specific port, but I'll share what I use.

Complete Story


×
We have made updates to our Privacy Policy to reflect the implementation of the General Data Protection Regulation.