LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

tracexec

Tracer for execve syscalls and pre-exec behavior

TLDR

Trace all exec calls made by bash
$ tracexec log -- bash
copy
Launch TUI mode to trace a build system
$ tracexec tui -- make
copy
TUI mode with pseudo terminal
$ tracexec tui -t -- bash
copy

SYNOPSIS

tracexec [options] command

DESCRIPTION

tracexec helps you figure out what and how programs get executed when you run a command. It is useful for debugging build systems, understanding shell scripts, and tracing what programs proprietary software runs. In TUI mode with a pseudo terminal, you can view exec event details and interact with processes.

INSTALL

sudo pacman -S tracexec
copy
nix profile install nixpkgs#tracexec
copy

HISTORY

tracexec was created by Levi Zim (kxxt) and is written in Rust.

SEE ALSO

strace(1), ltrace(1)

Copied to clipboard
Kai