1. compile the source with the debug switch on gcc -g -o myprog myprog.c
2. To force a crash run your program, switch to another process , then kill -s SEGV [pid]
where pid == the process id of the running program
3. get into gdb
ba is backtrace which shows you the contents of the stack at the time the program crashed.
hi friends,
i know that when there is a crash then that memory image is
put into /var/adm/crash
but if the system hangs up and if i have access to console of
that machine then how can i take the crash dump manully.
thanks (2 Replies)
Is it true that you can't have the crash dump server/client on the same server?
I know I've installed Nagios open source before, I though it's only for that kind of thing. I never though that Red hat ent 4 would be like client/server on the crash dump.
if someone is having problem with high... (0 Replies)
I am initiating the discussion.Hope everyone will add on to this.
Whenever any application crashes the system's crash reporter(/System/Library/CoreServices/Crash Reporter.app) creates a crash dump.A crash dump is the image of the state of the kernel that was in physical memory when the system... (0 Replies)
My sparc solaris 8 server crashed/rebooted yesterday and I have the vmcore files. I have some initial output from SCAT and ACT. I have not included all but any info would be helpful. I can supply more output if necessary.
Thanks you.
Can I have any information about this ACT and SCAT... (2 Replies)
Hi,
I'm running Solaris 10 with a zone called "testzone"
If I do a "reboot -d" on the host, as expected the kernet panics, reboots and creates a crash dump file in /var/crash
However no crash file is created in testzone.
My question is how can I tell if a zone crashs or shuts down... (4 Replies)
Hi gurus,
I will be glad if anyone can help me with this:
How do you copy a crash dump file to send to your support provider?
Thanks lots guys. (1 Reply)
Hello Guys,
I need a little help here. I have been studying crash dump and per what I am reading, you can dedicate a slice to use as a dump device. Now when you dedicate this slice, do you have to :
1) create a mount point?
2) add entry in /etc/vfstab?
3) is this slice wu or wm?
4) should... (3 Replies)
Hi Experts,
I have configured HP-UX Service Guard cluster and it dumps crash every time i reboot a cluster node. Can anyone please help me to prevent these unnecessary crash dumps at the time of rebooting SG cluster node?
Thanks in advance.
Vaishey (2 Replies)
Discussion started by: Vaishey
2 Replies
LEARN ABOUT HPUX
serialize
serialize(1) General Commands Manual serialize(1)NAME
serialize - force target process to run serially with other processes
SYNOPSIS
command [command_args]
pid]
DESCRIPTION
The command is used to force the target process to run serially with other processes also marked by this command. The target process can
be referred to by pid value, or it can be invoked directly on the command. Once a process has been marked by the process stays marked
until process completion unless is reissued on the serialized process with the option. The option causes the pid specified with the option
to return to normal timeshare scheduling algorithms.
This call is used to improve process throughput, since process throughput usually increases for large processes when they are executed
serially instead of allowing each program to run for only a short period of time. By running large processes one at a time, the system
makes more efficient use of the CPU as well as system memory, since each process does not end up constantly faulting in its working set, to
only have the pages stolen when another process starts running. As long as there is enough memory in the system, processes marked by
behave no differently from other processes in the system. However, once memory becomes tight, processes marked by are run one at a time
with the highest priority processes being run first. Each process will run for a finite interval of time before another serialized process
is allowed to run.
Options
supports the following options:
Indicates the process specified by
pid should be returned to timeshare scheduling.
Indicates the
pid of the target process.
If neither option is specified, is invoked on the command line passed in.
RETURN VALUE
returns the following value:
Successful completion.
Invalid
pid specification, nonnumeric entry, or pid specification is that of a special system process.
Could not execute the specified command.
No such process.
Must be root or a member of a group having the
privilege to execute
ERRORS
fails under the following condition and sets (see errno(2)) to the following value:
The pid passed in does not exist.
EXAMPLES
Use to force a database application to run serially with other processes marked for serialization:
Force a currently running process with a pid value of 215 to run serially with other processes marked for serialization:
Return a process previously marked for serialization to normal timeshare scheduling. The pid of the target process for this example is
WARNINGS
The user has no way of forcing an execution order on serialized processes.
AUTHOR
was developed by HP.
SEE ALSO setprivgrp(1M), getprivgrp(2), serialize(2).
serialize(1)