Solved

This is in AIX 5.3..need a command

Posted on 2011-09-11
2
1,372 Views
Last Modified: 2012-05-12
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
0
Comment
Question by:aixtutorial
  • 2
2 Comments
 
LVL 68

Accepted Solution

by:
woolmilkporc earned 250 total points
ID: 36521173
Hi,

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

dbx

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:

http://www-01.ibm.com/support/docview.wss?uid=swg21179404

Basically you'll have to run

stackit.ksh -p PID

wmp
0
 
LVL 68

Expert Comment

by:woolmilkporc
ID: 36521178
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.
0

Featured Post

VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

FreeBSD on EC2 FreeBSD (https://www.freebsd.org) is a robust Unix-like operating system that has been around for many years. FreeBSD is available on Amazon EC2 through Amazon Machine Images (AMIs) provided by FreeBSD developer and security office…
I. Introduction There's an interesting discussion going on now in an Experts Exchange Group — Attachments with no extension (http://www.experts-exchange.com/discussions/210281/Attachments-with-no-extension.html). This reminded me of questions tha…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.

932 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

8 Experts available now in Live!

Get 1:1 Help Now