# Install ifstat with Homebrew, apt, dnf, MacPorts

Tool to report network interface bandwidth. Version 1.1 via Homebrew; verified from local package data.

## Install

```sh
sudo av install brew:ifstat
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install ifstat
```

  Evidence: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install ifstat
```

  Evidence: MacPorts ports tree: sysutils/ifstat/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- Debian apt (92%):

```sh
sudo apt install ifstat
```

  Evidence: Debian stable package indexes: ifstat from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- dnf (92%):

```sh
sudo dnf install ifstat
```

  Evidence: Fedora Rawhide package metadata: ifstat from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst

## Package facts

- **Package key:** brew:ifstat
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/ifstat>
- **Version:** 1.1
- **Source summary:** Tool to report network interface bandwidth
- **Homepage:** <http://gael.roualland.free.fr/ifstat/>
- **Repository:** <https://github.com/matttbe/ifstat>
- **Upstream docs:** <http://gael.roualland.free.fr/ifstat>
- **License:** GPL-2.0-or-later
- **Source archive:** <https://deb.debian.org/debian/pool/main/i/ifstat/ifstat_1.1.orig.tar.gz>
- **Generated:** 2026-07-08T18:08:21+00:00

## Executables

- ifstat (cli)
- ifstat (alias)

## Install behavior

- Post-install hook: not defined
- Bottle: available on arm64_big_sur, arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, big_sur, catalina, monterey, sonoma, ventura

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 1.1
- Local data: ok
- Upstream repository: http://gael.roualland.free.fr/ifstat/
- info: No package-manager update timestamp was available.
- info: Release/tag comparison is only available for GitHub repositories.
## Project history and usage

ifstat is a small network-interface statistics tool by Gael Roualland. Its upstream page describes it as doing for network interfaces what vmstat and iostat do for other system counters.

The tool reports interface activity by reading operating-system counters directly, with optional SNMP support for remote hosts, routers, and switches.

### Project history

The release history begins with v0.1 on 2001-12-02, supporting Linux 2.2 and /proc. Within days, v0.2 added FreeBSD ifmib, Solaris kstat, interface discovery, and man pages.

During 2001 and 2002 the tool gained BSD kvm support, ucd-snmp support, Debian and RPM packaging support, loopback handling, multiple driver support, timestamping, and cleaner internal driver structure.

Version 1.0 in 2003 broadened Unix support with IRIX, OpenBSD, BSD route sysctl, improved kvm, terminal resizing behavior, total bandwidth reporting, and static library support. Version 1.1 in 2004 added Digital Unix, Tru64, AIX, HP-UX, Win32, and net-snmp-config integration.

### Adoption history

ifstat spread through classic Unix packaging channels because it solved a simple operational problem with a familiar interface: repeatable interface counters in a terminal. The supplied metadata lists Homebrew, Debian, Fedora, MacPorts, and Ubuntu package names.

Its adoption is also tied to portability. The upstream README lists Linux, Solaris, FreeBSD, IRIX, OpenBSD, NetBSD, Darwin, Digital Unix, AIX, HP-UX, and Win32 support, which made it useful on mixed Unix estates before Linux-only tooling dominated.

### How it is used

Users run ifstat to watch receive and transmit rates for one or more interfaces. The README's usage section reduces the basic workflow to running the command and watching statistics update.

Administrators can use the build-time driver options to force or disable platform backends, and SNMP support lets the same style of output poll remote equipment when net-snmp or ucd-snmp is available.

### Why package nerds care

ifstat is the sort of boring CLI package that explains why Unix package collections matter: it wraps many incompatible kernel-counter APIs behind one tiny command.

It also shows an older portability style, where configure checks, optional drivers, and per-OS counter backends made one C utility useful across a surprising number of operating systems.

### Timeline

- 2001-12-02: v0.1 initial implementation with Linux /proc support.
- 2001-12-04: v0.2 adds FreeBSD ifmib and Solaris kstat support.
- 2001-12-24: v0.4 adds SNMP support through ucd-snmp.
- 2002-01-17: v0.5 adds packaging support and multiple driver work.
- 2003-04-21: v1.0 expands BSD and terminal behavior features.
- 2004-01-01: v1.1 adds more Unix and Win32 support.

### Related projects

- vmstat and iostat are the conceptual models named by upstream.
- net-snmp, ucd-snmp, wmnet, and OS-specific kernel interfaces such as /proc/net/dev, kstat, ifmib, route sysctl, kvm, and GetIfTable are closely related to its implementation and use.

### Sources

- <http://gael.roualland.free.fr/ifstat/>
- <http://gael.roualland.free.fr/ifstat/HISTORY>
- <https://formulae.brew.sh/formula/ifstat>
- <https://github.com/matttbe/ifstat>


## Security Notes

broad file, network, media, or database tool signal.

- **Geiger risk:** blue / medium
- broad file, network, media, or database tool signal

## Source Database Details

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** ifstat
- **Version Scheme:** 0
- **Revision:** 0
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** stable

## Other Package-Manager Records

- Debian apt - ifstat - 1.1.1-2+b1: normalized package name match | Debian stable package indexes: ifstat from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | InterFace STATistics Monitoring | http://gael.roualland.free.fr/ifstat/
- Debian apt - libifstat-dev - 1.1.1-2+b1: normalized package name match | Debian stable package indexes: libifstat-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Ifstat Development Files | http://gael.roualland.free.fr/ifstat/
- Ubuntu apt - ifstat - 1.1.1-2build2: normalized package name match | Ubuntu 24.04 LTS package indexes: ifstat from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | InterFace STATistics Monitoring | http://gael.roualland.free.fr/ifstat/
- Ubuntu apt - libifstat-dev - 1.1.1-2build2: normalized package name match | Ubuntu 24.04 LTS package indexes: libifstat-dev from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Ifstat Development Files | http://gael.roualland.free.fr/ifstat/
- dnf - ifstat - 1.1-50.fc44: normalized package name match | Fedora Rawhide package metadata: ifstat from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | Interface statistics | http://gael.roualland.free.fr/ifstat/
- MacPorts - ifstat: normalized package name match | MacPorts ports tree: sysutils/ifstat/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## Related links

- [Secret-risk packages](https://www.automicvault.com/pkg/secret-risk-packages/) - Has protected-tool coverage, approval-gate, or non-low Geiger security signals.
- [Terminal utility packages](https://www.automicvault.com/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Networking and protocol packages](https://www.automicvault.com/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Web development packages](https://www.automicvault.com/pkg/web-dev-tools/) - Matched web development metadata.
- [bmon](https://www.automicvault.com/pkg/brew/bmon/) - Shares av.db curated category or tags: bandwidth, cli, interfaces, monitoring, network-monitoring.
- [iftop](https://www.automicvault.com/pkg/brew/iftop/) - Shares av.db curated category or tags: bandwidth, cli, interfaces, monitoring, network-monitoring.
- [mrtg](https://www.automicvault.com/pkg/brew/mrtg/) - Shares av.db curated category or tags: bandwidth, cli, monitoring, network-monitoring, networking.
- [bwm-ng](https://www.automicvault.com/pkg/brew/bwm-ng/) - Shares av.db curated category or tags: bandwidth, cli, monitoring, network-monitoring, networking.
- [nethogs](https://www.automicvault.com/pkg/brew/nethogs/) - Shares av.db curated category or tags: bandwidth, cli, monitoring, network-monitoring, networking.
- [nload](https://www.automicvault.com/pkg/brew/nload/) - Shares av.db curated category or tags: bandwidth, cli, monitoring, network-monitoring, networking.
- [vnstat](https://www.automicvault.com/pkg/brew/vnstat/) - Shares av.db curated category or tags: bandwidth, cli, monitoring, network-monitoring, networking.
- [fprobe](https://www.automicvault.com/pkg/brew/fprobe/) - Shares av.db curated category or tags: cli, monitoring, network-monitoring, networking.

## Combined YAML source

View the package source record on GitHub. [combined/ifstat.yml](https://github.com/automic-vault/db/blob/main/combined/ifstat.yml)


## Sources

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- curated package history
- package version freshness
- av.db category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
