Solved

What does dbxtrace do?

Posted on 2009-04-14
7
792 Views
Last Modified: 2013-12-11
./dbxtrace_aix.sh -a [PID] > dbxtrace.out. What does this do?
0
Comment
Question by:srikanthradix
  • 3
  • 3
7 Comments
 
LVL 61

Accepted Solution

by:
gheist earned 250 total points
Comment Utility
It creates text dump from core file using debugger called "dbx"
Good for debugging.
0
 
LVL 68

Assisted Solution

by:woolmilkporc
woolmilkporc earned 250 total points
Comment Utility
Hi again,

the purpose of the dbx command is to provide an environment to debug and run programs under the operating system.
You can examine object and core files, set breakpoints at selected statements or run the program one line at a time,
using symbolic variables and display them in their correct format.

There are shell scripts that call the dbx command and format the thread information from the core file. One of them is dbxtrace, whose AIX version is dbxtrace_aix.sh

The output of dbxtrace.sh provides information about each defined thread, with the following sections:  
Error condition
Description of each thread
Detail thread information
Stack trace of each thread.

HTH

wmp





0
 
LVL 68

Expert Comment

by:woolmilkporc
Comment Utility
... and particularly the -a flag with the <PID> parameter means attach to a running or hung process, whereas the -c flag with the <corefile> parameter means examine a core file.
0
Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

 

Author Comment

by:srikanthradix
Comment Utility
I have written a sample program
#!/bin/ksh
i=0
while true
do
echo "Value of i is $i"
i=`expr $i + 1`
sleep 100
done

and attached this process id to dbx
dbx -a pid

How do i debug now?
0
 

Author Comment

by:srikanthradix
Comment Utility
I am sorry, i did not know that dbx is used only for c, c++ and java programs and generating text files from core dump. Ignore my previous comment.
0
 

Author Closing Comment

by:srikanthradix
Comment Utility
What is nodeagent in WebSphere?
0
 
LVL 68

Expert Comment

by:woolmilkporc
Comment Utility

A node agent is used in the "distributed" version of WebSphere called "Network Deployment".
It is a server running on every host computer in the deployed network. It performs administrative functions, so it is e. g. responsible for all local name requests (JNDI) as well as managing running application servers - so if your application server is having problems, it will stop/terminate and restart it.
0

Featured Post

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

I promised to write further about my project, and here I am.  First, I needed to setup the Primary Server.  You can read how in this article: Setup FreeBSD Server with full HDD encryption (http://www.experts-exchange.com/OS/Unix/BSD/FreeBSD/A_3660-S…
Java performance on Solaris - Managing CPUs There are various resource controls in operating system which directly/indirectly influence the performance of application. one of the most important resource controls is "CPU".   In a multithreaded…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
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.

762 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

11 Experts available now in Live!

Get 1:1 Help Now