Server Connections

Check how many times a unique IP is connected
netstat -anp |grep 'tcp\|udp' | awk '{print $5}' | cut -d: -f1 | sort | uniq -c | sort -n
Shows active programs listening
netstat -nlp
lsof -p 10755
Lists the files/sockets that are open by PID 10755.