Thursday, September 24, 2015

Find out which process is using a particular port

I was never be able to remember options for netstat command. This option for lsof seems to be easier. Note that it requires a root access.
lsof -i :80
Change 80 to any port number you like.

Creadit: http://unix.stackexchange.com/a/106572

No comments:

Some usages of jstat

-gcutil $ jstat -gcutil This command shows utilization percentage of memory spaces of a java process. S0: Survivor space 0 S1 : Surviv...