Posted By

tobewan on 10/27/09


Tagged

server commands netstat dv Dedicated-Virtual


Versions (?)

all network connections filtering out anything in column 6 that matches '/tcp/' and sorts the unique entries by count


 / Published in: Bash
 

  1. netstat -an|awk '/tcp/ {print $6}'|sort|uniq -c

Report this snippet  

You need to login to post a comment.