DBX - How To
Environment
General AIX
Question
DBX - How To?
Answer
DBX Stack Trace Instructions
- Change the subdirectory to where the core file is located, enter:
	cd <subdirectory>
 
- Capture the console output, enter: 
	script
 
- Enter:
	dbx core
 
- To exit dbx, enter:
	quit
 
- Produce the full path name, enter:
	whence
 
- Enter:
	dbx core
 
- Format trace, enter:
	where
 
- Exit dbx, enter:
	quit
 
- To leave script, press ctrl-D.
Attach to hung process
- Capture console output, enter:
	script
 
- Enter:
	ps -ef | grep <hung process>
 
- Enter:
	dbx -a <process ID>
 
- Format trace, enter:
	where
 
- Leave dbx, enter:
	quit
 
- To leave script, press ctrl-D.
The script will be named typescript and will be located in the current
working directory.
DBX - How To:   ITEM: FAX
Dated: 2000/12/19~00:00 Category: gph
This HTML file was generated 2001/03/08~16:06:53
Comments or suggestions?
Contact us