Find out a process ID if knowing a port

Three ways to find out a process ID if we know the port:

lsof -w -n -i tcp:PORT_NUMBER
fuser -n tcp PORT_NUMBER
netstat -anpgrep :PORT_NUMBER

Comments

Popular posts from this blog

VIOS TIPs

Configure Solaris 10 LDOM on Solaris 11.4

Change P410i from HBA mode to Raid mdoe