Here's a quick one-liner to summarize the current packets-per-second throughput on an entire IOS router:
$ ssh 10.1.2.3 'sh int summ' | awk '/^*/{RXPPS+=$8;TXPPS+=$10} END {print "RXPPS=" RXPPS,"TXPPS=" TXPPS}'
jswan@10.1.2.3's password:
RXPPS=1613 TXPPS=1539
2 comments:
very nice, thanks ! :)
You describe it perfectly.
London dominatrix
Post a Comment