User Tools

Site Tools


awk:find_number_of_open_connections_per_ip

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
awk:find_number_of_open_connections_per_ip [2020/09/23 16:21] 192.168.1.1awk:find_number_of_open_connections_per_ip [2021/01/06 17:15] (current) peter
Line 3: Line 3:
 <code bash> <code bash>
 ss -ntu | awk '{print $5}' | cut -d: -f1 | sort | uniq -c | sort -n ss -ntu | awk '{print $5}' | cut -d: -f1 | sort | uniq -c | sort -n
 +</code>
 +
 +returns:
 +
 +<code bash>
 +      1 Local
 +      2 [fe80
 +      4 127.0.0.1
 +     23 192.168.1.69
 </code> </code>
  
Line 8: Line 17:
 **NOTE:**  ss is the newer replacement for the netstat command. **NOTE:**  ss is the newer replacement for the netstat command.
 </WRAP> </WRAP>
 +
  
awk/find_number_of_open_connections_per_ip.1600878078.txt.gz · Last modified: 2020/09/23 16:21 by 192.168.1.1

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki