simple network traffic query tool

Tobias Kirschstein lev at nupfel.de
Sat Apr 26 09:48:15 UTC 2008


On Fri, 25 Apr 2008 22:20:35 +0200
Roger Olofsson <raggen at passagen.se> wrote:

> 
> 
> Tobias Kirschstein skrev:
> > hi,
> > 
> > i'm looking for a small tool to query the current network traffic
> > (kb IN and OUT) per interface. is there any sysctl or tool which
> > gives me a similar output to "systat -ifstat":
> > 
> >                     /0   /1   /2   /3   /4   /5   /6   /7   /8   /9   /10
> >      Load Average
> > |||| 
> >       Interface           Traffic               Peak
> > Total lo0  in      0.000 KB/s          0.000 KB/s          226.079
> > KB out     0.000 KB/s          0.000 KB/s          226.079 KB
> > 
> >            wpi0  in      0.000 KB/s          0.000 KB/s
> > 164.577 MB out     0.000 KB/s          0.000 KB/s            6.205
> > MB
> > 
> > the background:
> > unfortunately the network monitor build into superkaramba does not
> > work for freebsd, os i want to write a widget which uses sysctl or
> > any other tool if available got get this information. systat is not
> > appropriate to be used because it does not terminate on its own as
> > i see.
> > 
> > 
> 
> Hello,
> 
> If you want something more of a web service you could install SNMP
> from ports and use Cacti (also from ports). See http://www.cacti.net/
> for a quick glance at what you'll get.

thanks to all for your suggestions. i looked into the tools but
unfortunately none was simple enough so that its output could be easily
parsed and used as a superkaramba sensor. finally i came across
"ifstat" (also from ports) which seems to be what i was looking for,
but nevertheless thanks for your help :)


-- 
ciao,
lev
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 250 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20080426/b502b9c5/attachment.pgp


More information about the freebsd-questions mailing list