Discussion Locked

How to take dump in running unix system

0 helpful
7 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

Hi all,
I want to take a dump in solaris 8 so that i can take memory contents, active processes with all details similar to unix panic dump. The difference is that without system giving a panic dump can we initiate a dump.

7 replies

by ghislain.levesque

The /usr/sbin/crash utility is used to take a snapshot of the kernel
(not to crash the system). The kmastat command as described in the
crash man page can be used to check the current kernel memory status.

There is a product that we used hereto trace some program in memory, it's called PURIFY...
It's very good!!!

Good luck

by ghislain.levesque

If the problem is in an aapplication you can use the gcore tool to generate core dumps on demand. It generates a core file from the application only.

SYNOPSIS
gcore [-o filename] process-id...

DESCRIPTION
The gcore utility creates a core image of each specified
process. By default, the name of the core image file for the
process whose process ID is process-id will be
core.process-id .

This saves doing a core dump of the entire OS just to debug one program.

This will generate a file that can be dbx'd in an ordinary debugger.

by hellbee

Taking a dump in a unix system is easy as starting up a dot com.

1. Open system chassis
2. pull down pants
3. ???
4. Profit!!!

This discussion is closed to new replies.