ifstat-网络接口监测工具

时间:2022-07-17 20:56:54

ifstat-网络接口监测工具

http://gael.roualland.free.fr/ifstat/

ifstat is a tool to report network interfaces bandwith just like vmstat/iostat do for other system counters.

ifstat gathers these statistics from the kernel internal
counters, which is highly operating system dependent.
Right now, the
following systems are supported:

  • Linux >= 2.2.0 (through
    /proc/net/dev file).
  • FreeBSD >= 2.2 (using the
    ifmib(4) interface).
  • Solaris >= 5.6 (using the kstat(3K) interface).
  • IRIX and OpenBSD (using the
    SIOCGIFDATA ioctl).
  • NetBSD and Darwin (using the route(4)
    sysctl interface).
  • Other BSDs (using the kvm(3)
    interface).
  • Digital Unix (OSF/1), Tru64, and Aix (using the legacy kmem interface).
  • HP-UX (using the DPLI streams interface).
  • Win32 native or through Cygwin (using the GetIfTable call).

If the net-snmp (or ucd-snmp)
library is available, ifstat can use it to gather statistics
from remote equipments (hosts, routers, switches...) or even the local
host if a SNMP daemon is running.

Current version: ifstat-1.1.tar.gz [History].
Debian package woody/i386: ifstat_1.1-1_i386.deb.
Win32 package (native): ifstat-1.1-win32.zip.