BOOTTRACE(8)            FreeBSD System Manager's Manual           BOOTTRACE(8)

NAME

     boottrace - trace command execution with boottrace(4)

SYNOPSIS

     boottrace utility [argument ...]

DESCRIPTION

     The boottrace utility executes the specified utility, creating two
     boottrace(4) trace entries before and after its execution.

ENVIRONMENT

     The PATH environment variable is used to locate the requested utility if
     the name contains no `/' characters.

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 126 is
     returned.  If utility could not be found, an exit status of 127 is
     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:

     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)

FreeBSD 15.1-STABLE-HBSD       February 18, 2022                  BOOTTRACE(8)