Diagnostic, debugging and instructional userspace utility for Linux
strace
Original author(s)
Paul Kranenburg
Developer(s)
Dmitry Levin
Stable release
6.8[1]
/ 20 March 2024; 58 days ago (20 March 2024)
Repository
github.com/strace/strace
Written in
C[2]
Operating system
Linux
Platform
AArch64, DEC Alpha, ARC, ARM EABI/OABI, AVR32, Blackfin, C-SKY, HP PA-RISC, IA-32, IA-64, LoongArch, Motorola 68k, Imagination META, MicroBlaze, MIPS, Nios II, OpenRISC, Power ISA 32/64 bit, RISC-V, System/390/z/Architecture, SuperH 32/64 bit, SPARC 32/64 bit, TILE, TILEPro, TILE-Gx, x86-64, x32 ABI, Xtensa
Available in
English[note 1]
Type
Debugging
License
LGPL v2.1+[note 2][4]
Website
strace.io
strace is a diagnostic, debugging and instructional userspace utility for Linux. It is used to monitor and tamper with interactions between processes and the Linux kernel, which include system calls, signal deliveries, and changes of process state. The operation of strace is made possible by the kernel feature known as ptrace.
Some Unix-like systems provide other diagnostic tools similar to strace, such as truss.
^"Release 6.8". 20 March 2024. Retrieved 25 March 2024.
^"The strace Open Source Project on Open Hub". Openhub.net. Retrieved 2021-11-23.
^Dmitry V. Levin (2018-12-15). "I: changing the license of strace to a copyleft license" (Mailing list). Retrieved 2021-09-02.
Cite error: There are <ref group=note> tags on this page, but the references will not show without a {{reflist|group=note}} template (see the help page).
strace is a diagnostic, debugging and instructional userspace utility for Linux. It is used to monitor and tamper with interactions between processes and...
similar to nm List of Unix commands llvm provides similar set of tools strace, a tool for system call debugging (enabled by kernel functionality) available...
ptrace is used by debuggers (such as gdb and dbx), by tracing tools like strace and ltrace, and by code coverage tools. ptrace is also used by specialized...
(graphical) and ntdll (core) system calls while Plan 9 has 51. Tools such as strace, ftrace and truss allow a process to execute from start and report all system...
IPC/Binder Framework, What is Binder?, 17 February 2013 Ben Leslie, Android: strace runtime, Benno’s website, 18 November 2007. "Linux kernel 3.19, Section...
utility, displays the calls a userland application makes to shared libraries strace – a debugging utility for Linux, monitors system calls used by a program...
tools Reverse-engineering tools Operating-system-level tracing via truss or strace Search engines and tools to search for keywords in source files IDE file...
are the ones you provide. $ strace ./hello > /dev/null # without a redirect, your program's stdout is mixed with strace's logging on stderr. Which is...
options, see the Lsof(8) Linux manual page. fuser (Unix) stat (Unix) netstat strace List of Unix commands "v25i002: lsof - a successor to fstat and ofiles"...
community. Free and open-source software portal Kernel marker SystemTap strace DTrace LTTng, Filling the Gap Between Kernel Instrumentation and a Widely...
Dutch computer programmer who has contributed to Debian, dpkg, Plone and strace. He was elected for two terms as the Debian project leader and served from...
utility, displays the calls a userland application makes to shared libraries strace – a debugging utility for Linux and some other Unix-like systems, monitors...
analysis of system call dependencies. The executed binary code is traced using strace or more precise taint analysis to compute data-flow dependencies among system...
privileges, malicious applications can still do keystroke logging using e.g. the strace tool. (ptrace was restricted in later kernel versions) Another security...
processes (kprocs, or threads) were used to do this. Support for a truss- or strace-like program. In addition to some repairs to bugs in the standard Unix ptrace...
and his death. Rendered as Στρέαζος, Streazos in Byzantine Greek and as Straces or Stratius in Latin sources. Златарски, p. 270 Florin Curta, Southeastern...