EXTRACE(1)
πΈ NAME πΈ
okay bestie, welcome to extrace(1) from the General Commands Manual β the iconic little tool that traces exec() calls system-wide. yes, literally all program executions on the system. main character energy fr fr. π
β¨ SYNOPSIS β¨
extrace [-deflqQtu] [-o file] [-p pid | cmd ...]
π DESCRIPTION π
extrace traces all program executions occurring on a system. thatβs the whole vibe check: every execution, tracked. π¦
the options are as follows, bestie:
-dβ print the current working directory of the new process. cute little context clue.-eβ print environment of process, or-if unreadable. if itβs unreadable, it literally says-, no cap.-fβ generate flat output without indentation. by default, the line indentation reflects the process hierarchy. so-fis giving βno nesting drama.β β¨-lβ resolve full path of the executable. by default,argv[0]is shown. so-lis the βgive me the full government nameβ option.-qβ suppress printing ofexec(3)arguments. shhh π€«-Qβ suppress printing of runtime errors. also shhh, but for errors.-tβ also display process exit status and duration. like a little report card for the process.-uβ also display the user running the process. identity check π-o fileβ redirect trace output tofile. take the receipts elsewhere.-p pidβ only traceexec(3)calls descendant ofpid. so youβre zooming in on that one process family tree.cmd ...β runcmd ...and only trace descendants of this command. by default, allexec(3)calls are traced globally. so without this, itβs everyone, everywhere, all at once. π
π«Ά EXIT STATUS π«Ά
the extrace utility exits 0 on success, and >0 if an error occurs. simple. clean. slay.
π ERRORS π
check these prerequisites if you see this error:
binding sk_nl error: Operation not permitted
extrace requires special permissions to run, either root or the Linux CAP_NET_ADMIN capability.
extrace only works on Linux kernels with the kernel options
CONFIG_CONNECTOR=y
CONFIG_PROC_EVENTS=y
bestie, if youβre seeing that error, this is your sign to check permissions and kernel vibes before spiraling. π
π¦ SEE ALSO π¦
fatrace(1), ps(1), pwait(1), strace(1)
π AUTHORS π
Leah Neukirchen <leah@vuxu.org>
May contain traces of code from Guillaume Thouvenin, Matt Helsley, and Sebastian Krahmer.
π BUGS π
While process tracing is exact, looking up all information is inherently sensitive to race conditions. In doubt, you can only trust the PID was written correctly. ngl, thatβs the honest tea. π
π LICENSE π
extrace is licensed under the terms of the GPLv2.
mwah π β source/version: Debian manual page Β· date: June 19, 2018. now go trace something iconic β¨
π¦ where this page comes from
- nixos 26.05: extrace 0.9
- nixpkgs unstable: extrace 0.9
- opensuse-leap 16.0: extrace 0.9-bp160.1.11 Β· GPL-2.0-only
- opensuse-leap 16.0: extrace 0.9-bp160.1.11 Β· GPL-2.0-only
- opensuse-leap 16.0: extrace 0.9-bp160.1.11 Β· GPL-2.0-only
- opensuse-leap 16.0: extrace 0.9-bp160.1.11 Β· GPL-2.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms