suvitha
suvitha

Reputation: 113

what are the commands to identify a process stack?

what commands are there to identify the stack that exists for a particular process?

Upvotes: 0

Views: 73

Answers (2)

johnsyweb
johnsyweb

Reputation: 141850

pstack will print a stack trace of a running process.

See man pstack for more information.

Upvotes: 1

Mikel
Mikel

Reputation: 25606

You could use gdb.

$ gdb <program> <pid>
gdb> bt

Upvotes: 0

Related Questions