Welcome to the VanDyke Software Forums

Join the discussion today!


Go Back   VanDyke Software Forums > Scripting

 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 07-31-2015, 03:01 PM
Casey Casey is offline
Registered User
 
Join Date: Oct 2011
Posts: 114
"show ip accounting" Top 10

Attached is a script I wrote that I figured others may also find helpful. It captures your 'show ip accounting' output, sorts it, and displays a somewhat formatted list of the 10 connections that have transmitted the most data.

It also saves it to your clipboard so you can paste it into notepad/email/IM/etc.

I've only tested on Cisco IOS routers (29xx and 39xx models)

If someone feels likes making the code more robust or just formatted to any kind of coding standard... then have at it. You won't hurt my feelings.

All I ask if that you considering sharing your improvements with everyone else here.

Use at your own risk.
Attached Files
File Type: zip IPAccountingTop10.zip (1.7 KB, 330 views)
Reply With Quote
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -6. The time now is 12:55 PM.