Advertisement
Guest User

Untitled

a guest
Jan 24th, 2011
405
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 10.15 KB | None | 0 0
  1. # netstat -ntu | awk '{print $5}' | cut -d: -f1 | sort | uniq -c | sort -n|wc -l
  2. 411
  3.  
  4. # netstat -ntu | awk '{print $5}' | cut -d: -f1 | sort | uniq -c | sort -n|wc -l
  5. 462
  6.  
  7. [root@liquor ~]# netstat -ntu | awk '{print $5}' | cut -d: -f1 | sort | uniq -c | sort -n|wc -l
  8. 444
  9.  
  10. Here is what the IP address count looks like:
  11.  
  12. [root@liquor ~]# netstat -ntu | awk '{print $5}' | cut -d: -f1 | sort | uniq -c | sort -n
  13.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement