stole from how-can-i-list-my-open-network-ports-with-netstat
netstat -Watnlv | grep LISTEN | awk '{"ps -o comm= -p " $9 | getline procname;colred="\033[01;31m";colclr="\033[0m"; print colred "proto: " colclr $1 colred " | addr.port: " colclr $4 colred " | pid: " colclr $9 colred " | name: " colclr procname; }' | column -t -s "|"
alias listening="netstat -Watnlv | grep LISTEN | awk '{\"ps -o comm= -p \" \$9 | getline procname;colred=\"\033[01;31m\";colclr=\"\033[0m\"; print colred \"proto: \" colclr \$1 colred \" | addr.port: \" colclr \$4 colred \" | pid: \" colclr \$9 colred \" | name: \" colclr procname; }' | column -t -s \"|\""