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

Next revision
Previous revision
awk:find_number_of_open_connections_per_ip [2020/09/23 16:20] – created 192.168.1.1awk:find_number_of_open_connections_per_ip [2021/01/06 17:15] (current) peter
Line 4: Line 4:
 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> </code>
 +
 +returns:
 +
 +<code bash>
 +      1 Local
 +      2 [fe80
 +      4 127.0.0.1
 +     23 192.168.1.69
 +</code>
 +
 +<WRAP info>
 +**NOTE:**  ss is the newer replacement for the netstat command.
 +</WRAP>
 +
  
awk/find_number_of_open_connections_per_ip.1600878032.txt.gz · Last modified: 2020/09/23 16:20 by 192.168.1.1

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki