bt(1) - SerenityOS man pages

Name

bt - view the backtrace of the specified process

Synopsis

$ bt <pid>

Description

This program is used to inspect the current executable state of a process. It will read the stack of each thread in the process, and symbolicate the addresses for each frame in the stack producing a backtrace.

NOTE:

Examples

View all stacks of pid number 10:

$ bt 10

Use watch(1) to emit a backtrace of pid 124, every second:

$ watch -n 1 -- bt 124

See also