- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Force memory dump on a live system
Categories
Company
Local Language
Forums
Discussions
Knowledge Base
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Forums
Discussions
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
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
08-14-2003 11:28 AM
08-14-2003 11:28 AM
(HP-UX 11i)
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-14-2003 12:14 PM
08-14-2003 12:14 PM
SolutionWhat are trying to dump?
A single process or the whole system?
If it's a process, you can core dump it with:
kill -3 PID
If you want a complete system dump then get into the GSP & issue the TC (Transfer Control) command. This will reboot the system & produce a crash dump. Make sure you have sufficient dump space to receive it & space to write it to on reboot. Run
crashconf -v
to review the crash dump configuration.
Crash dump options are configured in /etc/rc.config.d/crashconf, the dump device is defined in /etc/fstab & looks like
/dev/vg01/lvol1 - dump defaults 0 0
And no, there's no way to get a full crash dump w/o rebooting.
HTH,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-14-2003 12:54 PM
08-14-2003 12:54 PM
Re: Force memory dump on a live system
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-14-2003 01:12 PM
08-14-2003 01:12 PM
Re: Force memory dump on a live system
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-14-2003 01:19 PM
08-14-2003 01:19 PM
Re: Force memory dump on a live system
With memory content constantly and quickly changing, it would be tough to get a snapshot of it without a system halt.
I'm curious what you need it for.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-19-2003 04:42 AM
08-19-2003 04:42 AM
Re: Force memory dump on a live system
You can run some of the dump tools on a live system.
If you have q4 installed on your system (which is default for 11.x), you can do:
q4 -p /stand/vmunix /dev/kmem
At the q4 prompt you can use commands that are usually used for reading crash dump:
include analyze.pl
run Analyze AU > ana.out
include whathappened.pl
run WhatHappened > what.out
quit
Because you are running against something dynamic, it will not have 100% accurate information, but depending on what you are looking for, this could give you some valueable data while leaving the system up.
In general, the ana.out is going to help you more on a per-process point of view. The what.out would give you more of an idea on the system is running in general.