- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: How to generate stackdump of a program on HP-U...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-28-2006 11:57 AM
тАО02-28-2006 11:57 AM
How to generate stackdump of a program on HP-UX
On Solaris, it's easy to generate a stackdump of a program. I just execute pstack
Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-28-2006 12:31 PM
тАО02-28-2006 12:31 PM
Re: How to generate stackdump of a program on HP-UX
The following link should get you started.
http://h21007.www2.hp.com/dspp/tech/tech_TechSoftwareDetailPage_IDX/1,1703,1662,00.html
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-01-2006 06:30 AM
тАО03-01-2006 06:30 AM
Re: How to generate stackdump of a program on HP-UX
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-01-2006 06:37 AM
тАО03-01-2006 06:37 AM
Re: How to generate stackdump of a program on HP-UX
If you are Itanium based, have a look at the manpages for 'U_STACK_TRACE(3X)' and 'unwind(5)'.
Regards!
...JRF...
- Tags:
- U_STACK_TRACE
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-01-2006 06:40 AM
тАО03-01-2006 06:40 AM
Re: How to generate stackdump of a program on HP-UX
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-01-2006 06:46 AM
тАО03-01-2006 06:46 AM
Re: How to generate stackdump of a program on HP-UX
> gdb $EXE -pid $PID -command /home2/devuser3/bin/dropStack.txt > $OUTPUTFILE
$EXE is the full path to the executable,
$PID is the pid
$OUTPUTFILE is where you want to redirect output to
The content of the dropStack.txt file is:
set height 0
thread apply all bt
detach
quit
- Tags:
- gdb