Automic VaultAutomic Vault

brew

使用 Homebrew, apk, apt, dnf, MacPorts, Nix, pacman, zypper 安装 iftop

查看 iftop 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install iftop

local Homebrew formula metadata

MacPorts已验证 · 94%
sudo port install iftop

MacPorts ports tree · net/iftop/Portfile · 来源: api.github.com

Linux

Alpine Linux apk已验证 · 92%
sudo apk add iftop

Alpine Linux edge package indexes · iftop · 来源: dl-cdn.alpinelinux.org

Debian apt已验证 · 92%
sudo apt install iftop

Debian stable package indexes · iftop · 来源: deb.debian.org

Fedora dnf已验证 · 92%
sudo dnf install iftop

Fedora Rawhide package metadata · iftop · 来源: dl.fedoraproject.org

Nix已验证 · 92%
nix profile install nixpkgs#iftop

nixpkgs package indexes · pkgs/by-name/if/iftop/package.nix · 来源: api.github.com

Arch Linux pacman已验证 · 92%
sudo pacman -S iftop

Arch Linux sync databases · iftop · 来源: geo.mirror.pkgbuild.com

openSUSE zypper已验证 · 92%
sudo zypper install iftop

openSUSE Tumbleweed package metadata · iftop · 来源: download.opensuse.org

概览

软件包摘要

Display an interface's bandwidth usage

命令和别名

  • iftop

历史

项目历史与用法

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.

安全态势

风险级别:绿色

narrow executable package without higher-risk signals.

风险分类器

绿色 风险 · 低 置信度 · appliance

原因

  • narrow executable package without higher-risk signals

信号

  • metadata:no-higher-risk-signals

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 13 个平台目标。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

可执行文件

已安装的可执行文件

命令类型暴露范围备注
iftopcli全局可执行文件

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-07-25
管理器版本1.0pre4
管理器更新时间
本地数据OK
上游not checked
检测到的最新版本未检测到

https://pdw.ex-parrot.com/iftop/

  • 信息No package-manager update timestamp was available.低 置信度
  • 信息Release/tag comparison is only available for GitHub repositories.https://pdw.ex-parrot.com/iftop/none 置信度

安装元数据

软件包元数据

软件包键brew:iftop
版本1.0pre4
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/iftop
主页https://pdw.ex-parrot.com/iftop/
仓库https://code.blinkace.com/pdw/iftop
上游文档https://pdw.ex-parrot.com/iftop
许可证GPL-2.0-or-later
源码归档https://pdw.ex-parrot.com/iftop/download/iftop-1.0pre4.tar.gz
macOS 提供的库libpcap, ncurses
Bottle可用 (于 arm64_big_sur, arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, big_sur, catalina, monterey, sonoma, ventura, x86_64_linux)
Homebrew post-install未定义
服务未声明
注意事项iftop requires root privileges so you will need to run `sudo iftop`. You should be certain that you trust any software you grant root privileges.

注册表事实

源数据库详情

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Nameiftop
Version Scheme0
Revision0
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

Debian apt95%

iftop 1.0~pre4-9+b1

displays bandwidth usage information on an network interface

http://www.ex-parrot.com/~pdw/iftop/

sudo apt install iftop
  • Section: net
  • Architecture: amd64
  • Source Package: iftop
  • 4 依赖
  • normalized package name match
  • 匹配方式:Iftop
Debian stable package indexes · deb.debian.org · Debian stable package indexes: iftop from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

iftop

nix profile install nixpkgs#iftop
  • normalized package name match
  • 匹配方式:Iftop
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/if/iftop/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Ubuntu apt95%

iftop 1.0~pre4-9build2

displays bandwidth usage information on an network interface

http://www.ex-parrot.com/~pdw/iftop/

sudo apt install iftop
  • Section: universe/net
  • Architecture: amd64
  • 4 依赖
  • normalized package name match
  • 匹配方式:Iftop
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: iftop from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
apk95%

iftop 1.0_pre4-r0

A tool to display bandwidth usage on an interface

https://www.ex-parrot.com/~pdw/iftop/

sudo apk add iftop
  • License: GPL-2.0-or-later
  • Architecture: x86_64
  • Source Package: iftop
  • 1 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Iftop
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: iftop from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

iftop-doc 1.0_pre4-r0

A tool to display bandwidth usage on an interface (documentation)

https://www.ex-parrot.com/~pdw/iftop/

sudo apk add iftop-doc
  • License: GPL-2.0-or-later
  • Architecture: x86_64
  • Source Package: iftop
  • normalized package name match
  • 匹配方式:Iftop
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: iftop-doc from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
dnf95%

iftop 1.0-0.38.pre4.fc44

Command line tool that displays bandwidth usage on an interface

http://www.ex-parrot.com/~pdw/iftop/

sudo dnf install iftop
  • License: GPL-2.0-or-later AND BSD-4-Clause-UC
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: iftop
  • 7 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Iftop
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: iftop from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
pacman95%

iftop 1.0pre4-6

Display bandwidth usage on an interface

http://www.ex-parrot.com/~pdw/iftop/

sudo pacman -S iftop
  • License: GPL
  • Architecture: x86_64
  • 2 依赖
  • normalized package name match
  • 匹配方式:Iftop
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: iftop from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz
zypper95%

iftop 0.99.4-11.3

Real-Time Interface Bandwidth Usage

https://www.ex-parrot.com/~pdw/iftop/

sudo zypper install iftop
  • License: GPL-2.0-or-later
  • Category: Productivity/Networking/Diagnostic
  • Architecture: x86_64
  • Source Package: iftop
  • 5 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Iftop
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: iftop from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
MacPorts95%

iftop

sudo port install iftop
  • normalized package name match
  • 匹配方式:Iftop
MacPorts ports tree · api.github.com · MacPorts ports tree: net/iftop/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

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