AUTRACE(8)

πŸ’– AUTRACE(8) πŸ’–

System Administration Utilities β€” and bestie, this one is literally the strace-adjacent icon you've been looking for.


✨ NAME ✨

autrace β€” a program similar to strace πŸ¦‹


🌸 SYNOPSIS 🌸

autrace program [-r] [program-args]...

πŸŽ€ DESCRIPTION πŸŽ€

okay so picture this: autrace is a program that adds the audit rules to trace a process, kind of like strace does, but make it audit-flavored. it will then execute the program, passing arguments to it. πŸ’…

the resulting audit information will land in the audit logs if the audit daemon is running, or in syslog. no cap.

now here's the part where you gotta pay attention, bestie: this command deletes all audit rules prior to executing the target program and also after executing it. it's very much a "clean slate, periodt" situation.

and as a safety precaution, it will not run unless all rules are deleted with auditctl prior to use. so like, do your little pre-game ritual first or it's simply not happening. 🫢


πŸ’… OPTIONS πŸ’…

  • -r β€” limit syscalls collected to ones needed for analyzing resource usage. this could help people doing threat modeling (main character energy fr fr). it also saves space in logs. πŸ“

🌈 EXAMPLES 🌈

the following illustrates a typical session:

autrace /bin/ls /tmp
ausearch --start recent -p 2442 -i

and for resource usage mode:

autrace -r /bin/ls
ausearch --start recent -p 2450 --raw | aureport --file --summary
ausearch --start recent -p 2450 --raw | aureport --host --summary

πŸ‘‘ SEE ALSO πŸ‘‘

ausearch(8), auditctl(8).


🧚 AUTHOR 🧚

Steve Grubb


and that's the whole vibe check, bestie ✨ this page comes to you from Red Hat, dated Jan 2007 β€” yes, she's an elder icon and she still ate. go trace something cute. πŸ’œπŸŽ€