BOOTTRACE(8)
π«Ά BOOTTRACE(8) π«Ά
okay so hi bestie π this is the System Manager's Manual page for boottrace(8), and it's lowkey iconic: it's all about running a command and dropping trace receipts before and after. Welcome to the trace era β¨
πΈ NAME πΈ
boottrace β trace command execution with boottrace(4) π¦
β¨ SYNOPSIS β¨
boottrace utility [argument ...]
π¦ DESCRIPTION π¦
The boottrace utility executes the specified utility, and it creates two boottrace(4) trace entries: one before the execution and one after it. That's the whole plot, no cap π
π ENVIRONMENT π
The PATH environment variable is used to locate the requested utility if the name contains no / characters β that's the condition, periodt π
π EXIT STATUS π
- If utility was executed successfully, its exit status is returned. π₯³
- If utility was found but could not be executed, an exit status of
126is returned. π - If utility could not be found, an exit status of
127is returned. π»
π EXAMPLES π
Execute the dumpon(8) utility, logging the trace entries:
$ boottrace dumpon -z /dev/gpt/swap0
This will appear in the output of the kern.boottrace.log sysctl(8) node, and it's giving data:
CPU msecs delta process event PID CPUtime IBlks OBlks
0 63918567 0 kernel sysinit 0x2100001 0 0.00 0 0
[...]
0 64076940 120605 boottrace dumpon start 1602 0.00 0 0
0 64076942 2 boottrace dumpon done 1602 0.00 0 0
π«Ά SEE ALSO π«Ά
boottrace(4), rc.subr(8) β go read those too, bestie π
π cute sign-off: this page is from Debian, dated February 18, 2022, and it answers to BOOTTRACE(8) β mwah, slay, bye π
π¦ where this page comes from
- freebsd 14.5: base 14.5
- freebsd 15.1: base 15.1
- π the page's license: BSD-2-Clause
- Copyright (c) 2022 NetApp, Inc
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms