macOS
brew install stracelocal Homebrew formula metadata
安装
brew install stracelocal Homebrew formula metadata
sudo apk add straceAlpine Linux edge package indexes · strace · 来源: dl-cdn.alpinelinux.org
sudo apt install straceDebian stable package indexes · strace · 来源: deb.debian.org
sudo dnf install straceFedora Rawhide package metadata · strace · 来源: dl.fedoraproject.org
nix profile install nixpkgs#stracenixpkgs package indexes · pkgs/by-name/st/strace/package.nix · 来源: api.github.com
sudo pacman -S straceArch Linux sync databases · strace · 来源: geo.mirror.pkgbuild.com
sudo zypper install straceopenSUSE Tumbleweed package metadata · strace · 来源: download.opensuse.org
概览
Diagnostic, instructional, and debugging tool for the Linux kernel
历史
strace is the standard Linux command-line tool for tracing system calls and signals. It is central to Unix debugging culture because it turns opaque process behavior into a readable syscall transcript.
The strace manual history says the original program was written by Paul Kranenburg for SunOS and inspired by Sun's trace utility. Branko Lankester ported it to Linux and added Linux kernel support, and Rick Sladkey merged the SunOS and Linux lines in 1993 before adding SVR4, Solaris, and Irix work.
Maintenance later moved through Wichert Akkerman in 1996, Roland McGrath in 2002, and Dmitry Levin from 2009. The manual records major platform work across Linux architectures, a migration to Git, and the eventual removal of non-Linux code after the 4.6 release.
strace is packaged across mainstream Unix-like package managers in the supplied source facts, including Homebrew, Debian, Fedora, Arch, Alpine, Nix, Ubuntu, and openSUSE.
Its adoption is tied less to a framework ecosystem and more to everyday operational debugging: when a binary cannot open a file, hangs on a socket, sees unexpected permissions, or makes surprising syscalls, strace is the small tool users install first.
The man page describes tracing a new command, attaching to an existing process with -p, filtering syscall sets, tracing paths, dumping selected file descriptor I/O, collecting timing summaries, printing timestamps, decoding file descriptors, and injecting syscall faults.
Package users commonly install it as a rescue and diagnosis tool on Linux hosts, containers, CI images, and development machines.
strace is package-nerd significant because it explains package failures at the syscall layer: missing shared libraries, wrong config paths, permission problems, sandbox behavior, and network or filesystem assumptions become visible without rebuilding the program.
It is also a fixture of minimal debugging toolbelts. Even users who do not develop strace depend on distributions keeping its syscall tables current with the Linux kernel.
安全态势
process tracing tool.
red 风险 · 中 置信度 · escape-surveillance-offensive
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
strace | 可执行文件 | 已索引可执行文件 | 从本地可执行文件索引发现。 |
strace-log-merge | 可执行文件 | 已索引可执行文件 | 从本地可执行文件索引发现。 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
安装元数据
| 软件包键 | brew:strace |
|---|---|
| 版本 | 7.1 |
| 软件包管理器 | Homebrew |
| 主页 | https://strace.io/ |
| 仓库 | https://github.com/strace/strace |
| 最后更新 | 2026-06-15T19:22:18Z |
| Pulse | updated |
| Bottle | 未记录 |
| 服务 | 未声明 |
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
strace 6.13+ds-1
System call tracer
sudo apt install stracestrace
nix profile install nixpkgs#stracestrace 6.8-0ubuntu2
System call tracer
sudo apt install stracestrace 6.19-r1
Diagnostic, debugging and instructional userspace tracer
sudo apk add stracestrace-dbg 6.19-r1
Diagnostic, debugging and instructional userspace tracer (debug symbols)
sudo apk add strace-dbgstrace-doc 6.19-r1
Diagnostic, debugging and instructional userspace tracer (documentation)
sudo apk add strace-docstrace 7.1-1.fc45
Tracks and displays system calls associated with a running process
sudo dnf install stracestrace 7.0-1
A diagnostic, debugging and instructional userspace tracer
sudo pacman -S stracestrace 7.1-2.3
A utility to trace the system calls of a program
sudo zypper install strace来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.