Date: Thu, 5 Apr 2012 08:39:41 -0500 From: Jamie <jamie@geniegate.com> To: freebsd-chat@freebsd.org Subject: Fetch network in/out statistics? Message-ID: <20120405133941.GJ23929@mule.podro.com>
next in thread | raw e-mail | index | archive | help
I've seen this before, but I can't remember the name of the command. Basically, I want to fetch the in/out bytes of a given interface over a sampling time. something like: fetch-stats re0 lo0 in out re0 1205124 5012364 lo0 12348 54212 ... ...... ....... (Would be better if it gave me the stats for each IP number assigned to the interface) I tried trafd and some other stuff, but trafd gives me way too much information, and I don't want my network monitor to be the "main" application running... I just want something I can easily feed into mrtg (w/out snmp or, ideally, any daemons besides cron) Can you remember the name of the command that does that? Jamie -- http://www.geniegate.com Custom web programming Perl * Java * UNIX User Management Solutions
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20120405133941.GJ23929>