$ while true; do date; netstat -an | grep 80 | awk '{print $NF}' | sort | uniq -c; sleep 5; done
$ netstat -an | grep 800[12].*EST | awk '{print $4}' | sort | uniq -c
$ ps -eLf | awk '($3 == 3774) {print $0}' | sort -k 9 $ ps -eLf > filename.pid $ awk '{ if ( $2 == 21094 ) print $0; }' filename.pid > filename.pid.$$