2015/10/08
Show the number of entries in each ipset group
Just a quick one-liner for posterity.
1 |
ipset list -n | while read i; do n=`ipset list $i | tail -n +8 | wc -l`; echo "$n $i"; done | sort -n
|
Show the number of entries in each ipset group is original content from devolve.