Difference between revisions of "Top talkers"

From Tech-Wiki
Jump to: navigation, search
(Created page with "Category:Check Point '''Back to Gaia''' Display the top 50 Source/Destination combos fwaccel conns | awk '{printf "%-16s %-15s\n", $1,$3}' | sort |...")
 
Line 2: Line 2:
 
'''[[Check Point#Gaia|Back to Gaia]]'''
 
'''[[Check Point#Gaia|Back to Gaia]]'''
  
Display the top 50 Source/Destination combos
+
Display the top 50 Source/Destination pairs:
 
  fwaccel conns | awk '{printf "%-16s %-15s\n", $1,$3}' | sort | uniq -c | sort -n -r | head -n 50;
 
  fwaccel conns | awk '{printf "%-16s %-15s\n", $1,$3}' | sort | uniq -c | sort -n -r | head -n 50;
  
Display the top 50 Sources
+
Display the top 50 Sources:
 
  fwaccel conns | awk '{print $1}' | sort | uniq -c | sort -n -r | head -n 50
 
  fwaccel conns | awk '{print $1}' | sort | uniq -c | sort -n -r | head -n 50
  
Display the top 50 Destinations
+
Display the top 50 Destinations:
 
  fwaccel conns | awk '{print $3}' | sort | uniq -c | sort -n -r | head -n 50
 
  fwaccel conns | awk '{print $3}' | sort | uniq -c | sort -n -r | head -n 50
  
Display Connections From A Specific Host (large list)
+
Display Connections From A Specific Host (large list):
 
  fwaccel conns | awk -v DPT=200.1.1.1 '$1==DPT{print}'| sort | sort -n -r | less
 
  fwaccel conns | awk -v DPT=200.1.1.1 '$1==DPT{print}'| sort | sort -n -r | less
  
Display Connections To A Specific Host (large list)
+
Display Connections To A Specific Host (large list):
 
  fwaccel conns | awk -v DPT=200.1.1.1 '$3==DPT{print}'| sort | sort -n -r  | less
 
  fwaccel conns | awk -v DPT=200.1.1.1 '$3==DPT{print}'| sort | sort -n -r  | less

Revision as of 20:05, 23 August 2016

Back to Gaia

Display the top 50 Source/Destination pairs:

fwaccel conns | awk '{printf "%-16s %-15s\n", $1,$3}' | sort | uniq -c | sort -n -r | head -n 50;

Display the top 50 Sources:

fwaccel conns | awk '{print $1}' | sort | uniq -c | sort -n -r | head -n 50

Display the top 50 Destinations:

fwaccel conns | awk '{print $3}' | sort | uniq -c | sort -n -r | head -n 50

Display Connections From A Specific Host (large list):

fwaccel conns | awk -v DPT=200.1.1.1 '$1==DPT{print}'| sort | sort -n -r | less

Display Connections To A Specific Host (large list):

fwaccel conns | awk -v DPT=200.1.1.1 '$3==DPT{print}'| sort | sort -n -r  | less