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.
0 Responses to “Ifstat”