1, NetStat -anlp | GREP 80 | GREP TCP | AWK {'Print $ 5'} | awk -f: {'print $ 1'} | sort | uniq -c | sort -nr
2, be sure to initialize the pointer to a certain, appropriate address before the reference operator (*) is released to the pointer. - "C Primer Plus" Chinese version