> Is there a way to interrupt core dumping?
> Normally we want core files but sometimes it takes too much time, we know
> the problem, and we would really like to stop system to generate core and
> just exit process.

Core dumping is interruptible -- while i/o is in progress, you can hit
the process with SIGHUP, SIGINT, SIGKILL, or SIGTERM and the core dump
will be interrupted, leaving a truncated core (and a hint for mdb).

Note that the kernel forcibly unblocks those four signals as part of
the core dump process, so it does not matter if they were previously blocked.

-Mike

-- 
Mike Shapiro, Solaris Kernel Development. blogs.sun.com/mws/

Reply via email to