macOS
brew install iftoplocal Homebrew formula metadata
sudo port install iftopMacPorts ports tree · net/iftop/Portfile · 来源: api.github.com
安装
brew install iftoplocal Homebrew formula metadata
sudo port install iftopMacPorts ports tree · net/iftop/Portfile · 来源: api.github.com
sudo apk add iftopAlpine Linux edge package indexes · iftop · 来源: dl-cdn.alpinelinux.org
sudo dnf install iftopFedora Rawhide package metadata · iftop · 来源: dl.fedoraproject.org
nix profile install nixpkgs#iftopnixpkgs package indexes · pkgs/by-name/if/iftop/package.nix · 来源: api.github.com
sudo pacman -S iftopArch Linux sync databases · iftop · 来源: geo.mirror.pkgbuild.com
sudo zypper install iftopopenSUSE Tumbleweed package metadata · iftop · 来源: download.opensuse.org
概览
Display an interface's bandwidth usage
历史
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.
安全态势
narrow executable package without higher-risk signals.
绿色 风险 · 低 置信度 · appliance
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
iftop | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://pdw.ex-parrot.com/iftop/
安装元数据
| 软件包键 | 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 Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | iftop |
| Version Scheme | 0 |
| Revision | 0 |
| Head Version | HEAD |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
iftop 1.0~pre4-9+b1
displays bandwidth usage information on an network interface
http://www.ex-parrot.com/~pdw/iftop/
sudo apt install iftopiftop
nix profile install nixpkgs#iftopiftop 1.0~pre4-9build2
displays bandwidth usage information on an network interface
http://www.ex-parrot.com/~pdw/iftop/
sudo apt install iftopiftop 1.0_pre4-r0
A tool to display bandwidth usage on an interface
https://www.ex-parrot.com/~pdw/iftop/
sudo apk add iftopiftop-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-dociftop 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 iftopiftop 1.0pre4-6
Display bandwidth usage on an interface
http://www.ex-parrot.com/~pdw/iftop/
sudo pacman -S iftopiftop 0.99.4-11.3
Real-Time Interface Bandwidth Usage
https://www.ex-parrot.com/~pdw/iftop/
sudo zypper install iftopiftop
sudo port install iftop来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.