netstat
Netstat prints information about the Linux networking subsystem. The type of information printed is controlled by the first argument.

netstat
netstat [OPTIONS]
–numeric-hosts
–numeric-ports
–numeric-users, Numeric user IDs.
netstat [OPTIONS]
netstat [OUTPUT]
Active Internet connections(TCP, UDP, UDPLite, raw)
Proto, protocol used by socked.
Recv-Q, Count of bytes not copied by the user program connected to socket.
Send-Q, Count of bytes not acknowledged by remote host.
Local Address, Address and port number of local end of the socket.
Foreign Address, Address and port number of the remote end of the socket.
State, the state of socket.
User, the username or user id of socket owner.
PID/Program name
Timer
Active Unix domain Sockets
Proto, Protocol used by socket.
RefCnt, The reference count.