Difference between revisions of "Nighthawk's scratch pad"
From cpwiki.net
				
								
				
				
																
				
				
								
				
 (Created page with "run custom cma_sync_check script with filter  /usr/local/bin/cma_sync_stat |grep -E "Lagging|Advanced|Collision|(active)/(active)"  category:nighthawk")  | 
			|||
| Line 1: | Line 1: | ||
run custom cma_sync_check script with filter  | run custom cma_sync_check script with filter  | ||
  /usr/local/bin/cma_sync_stat |grep -E "Lagging|Advanced|Collision|(active)/(active)"  |   /usr/local/bin/cma_sync_stat |grep -E "Lagging|Advanced|Collision|(active)/(active)"  | ||
| + | |||
| + | |||
| + | format output of custom getpps script for firewall monitoring  | ||
| + |  tail -f /var/tmp/getpps_*_out.csv | awk -F "," '{print $1 ", " $5,"pck/sec ,",$6,"new ierrs ,",$7,"drop rate ,","cpu core idle times:",$9 ",","fw conns=",$10}'  | ||
[[category:nighthawk]]  | [[category:nighthawk]]  | ||
Latest revision as of 16:11, 25 August 2015
run custom cma_sync_check script with filter
/usr/local/bin/cma_sync_stat |grep -E "Lagging|Advanced|Collision|(active)/(active)"
format output of custom getpps script for firewall monitoring
tail -f /var/tmp/getpps_*_out.csv | awk -F "," '{print $1 ", " $5,"pck/sec ,",$6,"new ierrs ,",$7,"drop rate ,","cpu core idle times:",$9 ",","fw conns=",$10}'