macOS
brew install mtrlocal Homebrew formula metadata
安装
brew install mtrlocal Homebrew formula metadata
sudo apk add mtrAlpine Linux edge package indexes · mtr · 来源: dl-cdn.alpinelinux.org
sudo dnf install mtrFedora Rawhide package metadata · mtr · 来源: dl.fedoraproject.org
nix profile install nixpkgs#mtrnixpkgs package indexes · pkgs/by-name/mt/mtr/package.nix · 来源: api.github.com
sudo pacman -S mtrArch Linux sync databases · mtr · 来源: geo.mirror.pkgbuild.com
sudo zypper install mtropenSUSE Tumbleweed package metadata · mtr · 来源: download.opensuse.org
概览
'traceroute' and 'ping' in a single tool
历史
mtr began as Matt Kimball's network diagnostic program and was later maintained by Roger Wolff at BitWizard; the BitWizard history page says Wolff took over maintenance in October 1998. The name is commonly expanded as My Traceroute, preserving its origin as Matt's Traceroute while emphasizing the combined traceroute-and-ping behavior that made the tool distinctive.
Technically, mtr repeatedly probes the path from the local host to a destination with increasing time-to-live values, discovers intermediate hops from router responses, and prints running latency and loss statistics for each hop. The official README warns that routers can suppress or rate-limit ICMP responses, so apparent loss at an intermediate hop does not automatically mean forwarded traffic is being dropped there. The project also splits privileged packet work into mtr-packet, which must have raw-socket privileges on Unix-like systems.
Its adoption is broad because it turns an intermittent network path into a live table that operators can watch while troubleshooting. Distribution packaging for Unix-like systems, a GitHub-maintained upstream, WSL instructions for Windows users, and long-standing Homebrew/Linux packages place it alongside ping, traceroute, and pathping-style tools, but with the advantage of continuous per-hop statistics.
安全态势
narrow executable package without higher-risk signals.
绿色 风险 · 低 置信度 · appliance
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
mtr | cli | 全局可执行文件 | |
mtr-packet | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://github.com/traviscross/mtr
安装元数据
| 软件包键 | brew:mtr |
|---|---|
| 版本 | 0.96 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/mtr |
| 主页 | https://www.bitwizard.nl/mtr/ |
| 仓库 | https://github.com/traviscross/mtr |
| 上游文档 | https://www.bitwizard.nl/mtr |
| 许可证 | GPL-2.0-only AND BSD-3-Clause AND LGPL-2.0-only |
| 源码归档 | https://github.com/traviscross/mtr/archive/refs/tags/v0.96.tar.gz |
| 依赖 | jansson |
| 构建依赖 | autoconf, automake, pkgconf |
| Bottle | 可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, sonoma, ventura, x86_64_linux) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
| 注意事项 | mtr requires root privileges so you will need to run `sudo mtr`. You should be certain that you trust any software you grant root privileges. |
注册表事实
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | mtr |
| 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 软件包链接分开显示。
mtr 0.95-1.1+b1
Full screen ncurses and X11 traceroute tool
sudo apt install mtrmtr-tiny 0.95-1.1+b1
Full screen ncurses traceroute tool
sudo apt install mtr-tinymtr
nix profile install nixpkgs#mtrmtr 0.95-1.1build2
Full screen ncurses and X11 traceroute tool
sudo apt install mtrmtr-tiny 0.95-1.1build2
Full screen ncurses traceroute tool
sudo apt install mtr-tinymtr 0.96-r2
Full screen ncurses traceroute tool
sudo apk add mtrmtr-bash-completion 0.96-r2
Bash completion for mtr
sudo apk add mtr-bash-completionmtr-doc 0.96-r2
Full screen ncurses traceroute tool (documentation)
sudo apk add mtr-docmtr-gtk 0.96-r2
The GTK+ interface for mtr
sudo apk add mtr-gtkmtr 0.95-14.fc44
Network diagnostic tool combining 'traceroute' and 'ping'
sudo dnf install mtrmtr-gtk 0.95-14.fc44
GTK interface for MTR
sudo dnf install mtr-gtkmtr 0.96-1
Combines the functionality of traceroute and ping into one tool (CLI version)
sudo pacman -S mtrmtr 0.96-1.4
Ping and Traceroute Network Diagnostic Tool
sudo zypper install mtrmtr-gtk 0.96-1.4
Ping and Traceroute Network Diagnostic Tool
sudo zypper install mtr-gtkmtr
sudo port install mtr来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.