network monitoring: netstat
List All Ports
# netstat -an
List Sockets which are in Listening State
# netstat -l
Show the statistics for each protocol
#netstat -s
Display PID and program names in netstat output
# netstat -p
Show the list of network interfaces
# netstat -i