Wednesday 23 July 2008

TTG - Text Traffic Grapher

Have you ever wanted to know how much bandwidth you were using this instant? Do you like CLIs? (i.e. Command Line Interfaces) Then this utility is for you!!!

I found this utility the other day and discovered that it's one of those tools that I don't know why it's not included in most distributions. It's actually at the very bottom of that page, but it's very good.

You provide the name of the router or switch you want to monitor traffic on, the RO community string (usually public) and then you can type "list" to see the interfaces you can monitor and their status. Once you know, use that and you'll see the most recent traffic utilization through that interface.

e.g.

ttg switch public gi1/0/1

Found "GigabitEthernet1/0/1" at index 10101:
[09:44:59] current throughput: in 411.9 kB/s out 218.8 kB/s
[09:45:00] current throughput: in 405.9 kB/s out 247.4 kB/s
[09:45:01] current throughput: in 485.4 kB/s out 342.4 kB/s
[09:45:02] current throughput: in 523.7 kB/s out 357.5 kB/s
[09:45:03] current throughput: in 538.3 kB/s out 350.8 kB/s
[09:45:04] current throughput: in 486.4 kB/s out 302.4 kB/s

---- ttg statistics ----
in out
maximum throughput: 538.3 kB/s 357.5 kB/s
average throughput: 475.3 kB/s 303.2 kB/s
minimum throughput: 405.9 kB/s 218.8 kB/s

Nice huh? This will definitely help me when trying to figure out bandwidth utilization over a short interval.

And there's loads of things it can do ... try the help.

-P

No comments: