Linux lsof command: View port occupancy

command: 

lsof -i: view all network connections

lsof -i tcp: tcp links View all

lsof -i udp: View all udp connection

lsof -i: port number: port number who see the connection

lsof -i tcp: Port number: View the tcp in, who is using that port number


Guess you like

Origin blog.51cto.com/13502993/2424752