# iftop を Homebrew, apk, apt, dnf, MacPorts, Nix, pacman, zypper でインストール

iftop のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

## インストール

```sh
sudo av install brew:iftop
```

追加のインストールコマンド:

### macOS

- Homebrew (100%):

```sh
brew install iftop
```

  証拠: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install iftop
```

  証拠: MacPorts ports tree: net/iftop/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- apk (92%):

```sh
sudo apk add iftop
```

  証拠: Alpine Linux edge package indexes: iftop from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz

- Debian apt (92%):

```sh
sudo apt install iftop
```

  証拠: Debian stable package indexes: iftop from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- dnf (92%):

```sh
sudo dnf install iftop
```

  証拠: Fedora Rawhide package metadata: iftop from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst

- Nix (92%):

```sh
nix profile install nixpkgs#iftop
```

  証拠: nixpkgs package indexes: pkgs/by-name/if/iftop/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- pacman (92%):

```sh
sudo pacman -S iftop
```

  証拠: Arch Linux sync databases: iftop from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

- zypper (92%):

```sh
sudo zypper install iftop
```

  証拠: openSUSE Tumbleweed package metadata: iftop from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst

## パッケージ情報

- **パッケージキー:** brew:iftop
- **パッケージマネージャ:** Homebrew
- **バージョン:** 1.0pre4
- **ソース概要:** Display an interface's bandwidth usage
- **ホームページ:** <https://pdw.ex-parrot.com/iftop/>
- **生成日時:** 2026-08-03T19:37:03+00:00

## 実行可能ファイル

- iftop (エイリアス)

## インストール挙動

- Bottle: 利用不可

## バージョンと鮮度

- ページ生成日: 2026-08-03
- マネージャ版: 1.0pre4
## プロジェクトの歴史と使われ方

iftop is a terminal bandwidth monitor by Paul Warren and contributors. Its project page summarizes the idea directly: it does for network usage what top does for CPU usage, listening on an interface and showing bandwidth by host pairs.

It became a familiar admin tool because it answers an immediate operational question: which conversations are using the link right now?

### プロジェクトの歴史

The upstream ChangeLog records the first release as 0.1 on 2002-03-29. Early 2002 releases quickly added network-boundary analysis, cumulative totals, PPP support, Linux cooked sockets, port display, FreeBSD support, online help, service resolution controls, and bandwidth-in-bytes display.

By 2003 the tool had acquired autoconf/automake, better interface auto-selection, cumulative line totals, Solaris DLPI support, Mac OS X build fixes, config-file support, selectable averages, and command-line controls for port resolution.

Version 0.17 in 2006 added VLAN support and multiple portability fixes. Later 1.0 pre-release work added IPv6 support, text output mode, PFLOG support, many downstream portability fixes, and contributions routed through Debian, Fedora, Red Hat, and other users.

### 採用の歴史

iftop spread widely through Unix and Linux package collections because it pairs libpcap packet capture with a top-like curses interface. The supplied metadata lists Alpine, Homebrew, Debian, Fedora, MacPorts, Nix, Arch, Ubuntu, and openSUSE-style package names.

The project page also maintained a mailing list, public archives, pre-release tarballs, and a git repository, which helped distribution maintainers track patches even when stable releases were infrequent. Homebrew's formula notes that distributions package a 1.0 pre-release because upstream movement slowed after the 2014 pre-release.

### 使われ方

Users usually run iftop on a selected interface to see bandwidth grouped by source and destination host pairs. The UI supports options and interactive toggles for hostnames, ports, sorting, totals, averages, filters, display scaling, and text output.

Because it uses libpcap, iftop often needs elevated privileges or packet-capture permissions. It is most useful during incident response, capacity checks, and quick diagnosis of unexpected traffic.

### パッケージ好きにとっての重要性

iftop is one of the canonical small admin packages: a memorable name, a single job, a curses UI, libpcap underneath, and years of downstream patches keeping it buildable across systems.

It also occupies the sweet spot between tcpdump and full network-monitoring suites. Package it once, run it over SSH, and get an immediate visual answer without setting up a daemon or dashboard.

### タイムライン

- 2002-03-29: 0.1 first release.
- 2002-10-22: 0.9 adds FreeBSD support, online help, service toggles, and bandwidth-in-bytes display.
- 2003-01-08: 0.11 adds autoconf/automake and improved interface auto-selection.
- 2003-11-10: 0.15 adds config-file support and display controls.
- 2006-02-12: 0.17 adds VLAN support and portability fixes.
- 2014-01-19: 1.0pre4 is the pre-release packaged by Homebrew and other distributions.

### Related projects

- top is the direct interface analogy named by upstream.
- tcpdump, libpcap, pcap, ncurses, ntop, bmon, nload, iptraf-ng, and ifstat are adjacent command-line or terminal network-monitoring tools.

### ソース

- <https://code.blinkace.com/pdw/iftop>
- <https://code.blinkace.com/pdw/iftop/-/raw/master/ChangeLog>
- <https://formulae.brew.sh/formula/iftop>
- <https://pdw.ex-parrot.com/iftop/>


## セキュリティノート

narrow executable package without higher-risk signals.

- **Geiger リスク:** グリーン / 低
- narrow executable package without higher-risk signals

## 他のパッケージマネージャ記録

- Debian apt - iftop - 1.0~pre4-9+b1: normalized package name match | Debian stable package indexes: iftop from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | displays bandwidth usage information on an network interface | http://www.ex-parrot.com/~pdw/iftop/
- Nix - iftop: normalized package name match | nixpkgs package indexes: pkgs/by-name/if/iftop/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - iftop - 1.0~pre4-9build2: normalized package name match | Ubuntu 24.04 LTS package indexes: iftop from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | displays bandwidth usage information on an network interface | http://www.ex-parrot.com/~pdw/iftop/
- apk - iftop - 1.0_pre4-r0: normalized package name match | Alpine Linux edge package indexes: iftop from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | A tool to display bandwidth usage on an interface | https://www.ex-parrot.com/~pdw/iftop/
- apk - iftop-doc - 1.0_pre4-r0: normalized package name match | Alpine Linux edge package indexes: iftop-doc from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | A tool to display bandwidth usage on an interface (documentation) | https://www.ex-parrot.com/~pdw/iftop/
- dnf - iftop - 1.0-0.39.pre4.fc45: normalized package name match | Fedora Rawhide package metadata: iftop from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Command line tool that displays bandwidth usage on an interface | http://www.ex-parrot.com/~pdw/iftop/
- pacman - iftop - 1.0pre4-6: normalized package name match | Arch Linux sync databases: iftop from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | Display bandwidth usage on an interface | http://www.ex-parrot.com/~pdw/iftop/
- zypper - iftop - 0.99.4-11.5: normalized package name match | openSUSE Tumbleweed package metadata: iftop from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Real-Time Interface Bandwidth Usage | https://www.ex-parrot.com/~pdw/iftop/
- MacPorts - iftop: normalized package name match | MacPorts ports tree: net/iftop/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## Combined YAML source

View the package source record on GitHub. [combined/iftop.yml](https://github.com/mxcl/pkgdb/blob/main/combined/iftop.yml)


## ソース

- pkg.so package database
- Geiger risk classifier
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
