- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: finding process list from crashdump
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
тАО12-24-2010 12:10 AM
тАО12-24-2010 12:10 AM
finding process list from crashdump
how to find the process list from the crashdump output.
last one month before server hanged due to nproc table got full, we analysed the case with HP support. In HP report the process id of the process is 1247 but when we try to analyze the crashdump output we are not able to find the particular process.
any commands to find the particular process.
regards
MC
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-24-2010 06:15 AM
тАО12-24-2010 06:15 AM
Re: finding process list from crashdump
,but did you check this pages to assist you ?
http://www.unixguide.net/hp/hpuxcrashdump.shtml
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-24-2010 04:11 PM
тАО12-24-2010 04:11 PM
Re: finding process list from crashdump
kwdb -p .
run Analyze UA > ana.out
in the ana.out text file you should see the state of all of the processors and will have a list of all of the processes. Remember the process ID is a hex value.
kwdb -p .
load struct proc from proc_list next p_factp max nproc
keep p_pid ==
print -tx
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-24-2010 06:08 PM
тАО12-24-2010 06:08 PM
Re: finding process list from crashdump
Now that this information is in the public domain, I would stress one word of caution.
If you don't know what you are doing exactly or if there are multiple SA's in your organisation.
I would strongly recommend, you appoint a primary SA, to analyse crash dumps.
Remember you only get one crash dump.
Merry Christmas and a Happy New Year.
Terry Giblin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-24-2010 09:57 PM
тАО12-24-2010 09:57 PM
Re: finding process list from crashdump
Accessing the process list requires intense understanding of kernel data structures. q4 was traditionally used for this and right now on 11.31 kwdb is the preferred utility. The kernel has it's own view of the operating system and hence it's important to understand at times what the kernel is thinking. Structure fields and data structures can be analyzed with the HP recommended debugger on 11.31 kwdb and requires knowledge of C language. How it is done!.. It's typically the way the king said it. Loading the linked list is done with load and viewing the data is done with print.
Regards
Ismail Azad
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-25-2010 10:30 AM
тАО12-25-2010 10:30 AM
Re: finding process list from crashdump
Kiernighan & Ritchie, have a lot to answer for, if you ask me. - But I still have my first edition (addition) copy, from 1988.
http://upload.wikimedia.org/wikipedia/en/4/48/K%26R_C.jpg
Or as I called it, System X.
"HP recommended debugger on 11.31 kwdb."
This I was not aware of, thank you very much.
Merry Christmas and a Happy New Year.
Terry Giblin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-25-2010 10:49 PM
тАО12-25-2010 10:49 PM
Re: finding process list from crashdump
kwdb is pretty much the only kernel debugger on 11.31.
For user space, there is wdb/gdb.