On Mon, May 28, 2012 at 10:00:47PM +0100, Stuart Henderson wrote:
> "TTG is a small command-line utility to display the throughput (bandwidth
> usage) on an interface of a remote device such as a router, switch, etc.,
> over SNMP.
> 
> Unlike tools like MRTG which sample bandwidth over a relatively long
> interval (often 5 minutes), TTG is normally used to display throughput
> over as little as one second."
> 
> OK?

This seems to be buggy..

$ ttg -x vault comstyle list
1 : "lo" [up/up]
2 : "eth1" [up/down]
3 : "eth0" [up/up]
4 : "ipddp0" [down/down]
$ ttg -x vault comstyle eth0 
Unable to find "Etherneth0". Use 'list' to display all interfaces.
$ ttg -x vault comstyle ipaddp0
Unable to find "ipaddp0". Use 'list' to display all interfaces.
$ ttg -x vault comstyle lo      
Found "lo" at index 1:
[04:37:28] current throughput: in    0.0  B/s  out    0.0  B/s
[04:37:29] current throughput: in    0.0  B/s  out    0.0  B/s

$ ttg -x fw comstyle list  
1 : "vr0" [down/down]
2 : "em0" [up/up]
3 : "em1" [up/up]
4 : "enc0" [down/down]
5 : "lo0" [up/unkn]
6 : "vlan1" [up/up]
7 : "vlan2" [up/up]
8 : "carp0" [up/up]
9 : "carp1" [up/up]
10 : "gif0" [up/unkn]
11 : "pflog0" [up/unkn]
$ ttg -x fw comstyle vlan1
Unable to find "Vlanan1". Use 'list' to display all interfaces.
$ ttg -x fw comstyle gif0  
Unable to find "GigabitEthernetf0". Use 'list' to display all interfaces.
$ ttg -x fw comstyle em1  
Found "em1" at index 3:
[04:38:54] current throughput: in    0.0  B/s  out    0.0  B/s
[04:38:55] current throughput: in  419.0  B/s  out  604.0  B/s
[04:38:56] current throughput: in    0.0  B/s  out    0.0  B/s

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

Reply via email to