1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-15 20:14:58 +00:00
serenity/Base/usr/share/man/man1/bt.md
2021-05-01 08:44:33 +02:00

821 B

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 symbolize the addresses for each frame in the stack producing a backtrace.

NOTE:

  • Kernel addresses will not be available unless you are super user.

  • If Kernel addresses are available, they will not be symbolized unless the SymbolServer service has access to the /boot/Kernel file.

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