From owner-freebsd-questions@FreeBSD.ORG Sat Apr 26 09:48:15 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 79374106564A for ; Sat, 26 Apr 2008 09:48:15 +0000 (UTC) (envelope-from lev@nupfel.de) Received: from schatten.darksystem.net (schatten.darksystem.net [88.198.51.7]) by mx1.freebsd.org (Postfix) with ESMTP id 054F98FC22 for ; Sat, 26 Apr 2008 09:48:14 +0000 (UTC) (envelope-from lev@nupfel.de) Received: from schatten.darksystem.net (localhost [127.0.0.1]) by schatten.darksystem.net (Postfix) with ESMTP id 7CED0F5C4BE; Sat, 26 Apr 2008 11:48:12 +0200 (CEST) X-Spam-Status: No, hits=1.1 required=5.0 tests=AWL, BAYES_00, RCVD_IN_DSBL, RCVD_IN_PBL, RCVD_IN_SORBS_DUL, RDNS_DYNAMIC X-Spam-Check-By: schatten.darksystem.net Received: from port-212-202-192-115.dynamic.qsc.de (HELO mail.nupfel.de) (212.202.192.115) (smtp-auth username lev, mechanism plain) by schatten.darksystem.net (qpsmtpd/0.32) with ESMTP; Sat, 26 Apr 2008 11:47:52 +0200 Received: from localhost (localhost [127.0.0.1]) by mail.nupfel.de (Postfix) with ESMTP id 11B4C1A21909; Sat, 26 Apr 2008 11:47:49 +0200 (CEST) X-Virus-Scanned: amavisd-new at nupfel.de Received: from mail.nupfel.de ([127.0.0.1]) by localhost (mail.nupfel.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 1w8PunTqmX51; Sat, 26 Apr 2008 11:47:47 +0200 (CEST) Received: by mail.nupfel.de (Postfix, from userid 1000) id E5DF71A21908; Sat, 26 Apr 2008 11:47:47 +0200 (CEST) Date: Sat, 26 Apr 2008 11:47:47 +0200 From: Tobias Kirschstein To: Roger Olofsson Message-ID: <20080426094747.GC14991@nupfel.de> References: <20080424181040.GB14991@nupfel.de> <48123D13.5030900@passagen.se> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="7gGkHNMELEOhSGF6" Content-Disposition: inline In-Reply-To: <48123D13.5030900@passagen.se> X-Mailer: Claws Mail 3.3.1 (GTK+ 2.12.8; amd64-portbld-freebsd8.0) User-Agent: Mutt/1.5.16 (2007-06-09) Cc: freebsd-questions Subject: Re: simple network traffic query tool X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 26 Apr 2008 09:48:15 -0000 --7gGkHNMELEOhSGF6 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, 25 Apr 2008 22:20:35 +0200 Roger Olofsson wrote: >=20 >=20 > Tobias Kirschstein skrev: > > hi, > >=20 > > 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": > >=20 > > /0 /1 /2 /3 /4 /5 /6 /7 /8 /9 /= 10 > > Load Average > > ||||=20 > > 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 > >=20 > > 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 > >=20 > > 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. > >=20 > >=20 >=20 > Hello, >=20 > 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 :) --=20 ciao, lev --7gGkHNMELEOhSGF6 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.7 (GNU/Linux) iGwEARECACwFAkgS+kMlGmh0dHA6Ly93d3cubnVwZmVsLmRlL3BncC9wb2xpY3ku aHRtbAAKCRCkm1fv1t7QAPlQAJ0QaMmw1TM6H8WwUaCaibeRZtlzGACgnxrGw3Lp J14tfJVgPmxLl/t5TkU= =yo7a -----END PGP SIGNATURE----- --7gGkHNMELEOhSGF6--