Difference between revisions of "Top talkers"
From Tech-Wiki
Line 2: | Line 2: | ||
'''[[Check Point#Gaia|Back to Gaia]]''' | '''[[Check Point#Gaia|Back to Gaia]]''' | ||
− | Display the top | + | Display the top 20 Source/Destination pairs: |
− | fwaccel conns | awk '{printf "%-16s %-15s\n", $1,$3}' | sort | uniq -c | sort -n -r | head -n | + | fwaccel conns | awk '{printf "%-16s %-15s\n", $1,$3}' | sort | uniq -c | sort -n -r | head -n 20 |
− | Display the top | + | Display the top 20 Sources: |
− | fwaccel conns | awk '{print $1}' | sort | uniq -c | sort -n -r | head -n | + | fwaccel conns | awk '{print $1}' | sort | uniq -c | sort -n -r | head -n 20 |
− | Display the top | + | Display the top 20 Destinations: |
− | fwaccel conns | awk '{print $3}' | sort | uniq -c | sort -n -r | head -n | + | fwaccel conns | awk '{print $3}' | sort | uniq -c | sort -n -r | head -n 20 |
Display Connections From a specific Host: | Display Connections From a specific Host: | ||
− | fwaccel conns | awk -v DPT=200.1.1.1 '$1==DPT{print}'| sort | sort -n -r | head -n | + | fwaccel conns | awk -v DPT=200.1.1.1 '$1==DPT{print}'| sort | sort -n -r | head -n 20 |
Display Connections To a specific Host: | Display Connections To a specific Host: | ||
− | fwaccel conns | awk -v DPT=200.1.1.1 '$3==DPT{print}'| sort | sort -n -r | head -n | + | fwaccel conns | awk -v DPT=200.1.1.1 '$3==DPT{print}'| sort | sort -n -r | head -n 20 |
Latest revision as of 20:21, 16 January 2019
Display the top 20 Source/Destination pairs:
fwaccel conns | awk '{printf "%-16s %-15s\n", $1,$3}' | sort | uniq -c | sort -n -r | head -n 20
Display the top 20 Sources:
fwaccel conns | awk '{print $1}' | sort | uniq -c | sort -n -r | head -n 20
Display the top 20 Destinations:
fwaccel conns | awk '{print $3}' | sort | uniq -c | sort -n -r | head -n 20
Display Connections From a specific Host:
fwaccel conns | awk -v DPT=200.1.1.1 '$1==DPT{print}'| sort | sort -n -r | head -n 20
Display Connections To a specific Host:
fwaccel conns | awk -v DPT=200.1.1.1 '$3==DPT{print}'| sort | sort -n -r | head -n 20