View network connections, ports and process


View network connections, ports and process:

lsof command example

Type the following command to see IPv4 port(s), enter:
# lsof -Pnl +M -i4

Type the following command to see IPv6 listing port(s), enter:
# lsof -Pnl +M -i6

Process information
# lsof -p PID

netstat command example


Type the command as follows:
# netstat -patun

OR
# netstat -netpl


Vimrc example

 syntax on                   " modo visual/colorido ativo set showmode                " apresenta o modo de utilizacao atual (comm...

Mais vistos