Date: Thu, 24 Apr 2008 20:10:40 +0200 From: Tobias Kirschstein <lev@nupfel.de> To: freebsd-questions <freebsd-questions@freebsd.org> Subject: simple network traffic query tool Message-ID: <20080424181040.GB14991@nupfel.de>
next in thread | raw e-mail | index | archive | help
--DBIVS5p969aUjpLe Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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 |||| =20 =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 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. --=20 ciao, lev --DBIVS5p969aUjpLe Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.7 (GNU/Linux) iGwEARECACwFAkgQzR8lGmh0dHA6Ly93d3cubnVwZmVsLmRlL3BncC9wb2xpY3ku aHRtbAAKCRCkm1fv1t7QANVVAJ9uUJ19kdlti935yH1XPynwKck4twCgvh85QNvu 6yOYhJcZ4jRs2eyUwq4= =8Ctk -----END PGP SIGNATURE----- --DBIVS5p969aUjpLe--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080424181040.GB14991>