Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 845
  • Last Modified:

What does dbxtrace do?

./dbxtrace_aix.sh -a [PID] > dbxtrace.out. What does this do?
0
srikanthradix
Asked:
srikanthradix
  • 3
  • 3
2 Solutions
 
gheistCommented:
It creates text dump from core file using debugger called "dbx"
Good for debugging.
0
 
woolmilkporcCommented:
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
 
woolmilkporcCommented:
... 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
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
srikanthradixAuthor Commented:
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
 
srikanthradixAuthor Commented:
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
 
srikanthradixAuthor Commented:
What is nodeagent in WebSphere?
0
 
woolmilkporcCommented:

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

Become an Android App Developer

Ready to kick start your career in 2018? Learn how to build an Android app in January’s Course of the Month and open the door to new opportunities.

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