• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1554
  • Last Modified:

This is in AIX 5.3..need a command

This is in AIX 5.3..need a command

What is the equivalent command for pstack in AIX please also provide the syntax of the command
  • 2
1 Solution

if you just want to see the stack of a process you can use

procstack PID

to print the hexadecimal addresses and symbolic names for all the threads in the process.

If you need a real trace the command to use is


It has lots of options and parameters, too many to explain here.
The basic format is

dbx -a PID

You will get a prompt. "h" gives you a list of subcommands.

There is a neat wrapper script to dbx from IBM called stackit.ksh

You can get this script as well as usage information here:


Basically you'll have to run

stackit.ksh -p PID

If you want to see system calls, dynamically loaded user level function calls, received signals, and incurred machine faults
of a process then

truss -p PID

would be an option.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

A proven path to a career in data science

At Springboard, we know how to get you a job in data science. With Springboard’s Data Science Career Track, you’ll master data science  with a curriculum built by industry experts. You’ll work on real projects, and get 1-on-1 mentorship from a data scientist.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now