Detecting when a process is dumping core

Can someone point me to how I might determine if a process is dumping core? The scenario is that I have a watchdog process which needs to send sigabrt to processes which are in wedged state. These processes are running in large memory and hence core dumps can take a little while. I think I remember being able to check a flag of a process which would identify that the process was in the process of dumping core.

Thanks

[433 byte] By [eservglobal] at [2007-11-26 10:22:26]
# 1
Unless you actually need the coredump, you can just stop them from coredumping in the first place.Use ulimit to set their coredump limit to 0
robertcohen at 2007-7-7 2:22:45 > top of Java-index,Solaris Operating System,Solaris Essentials - General Technical Questions...
# 2
No we always need the core. We service the telco industry and the core is important for diagnostics.
eservglobal at 2007-7-7 2:22:45 > top of Java-index,Solaris Operating System,Solaris Essentials - General Technical Questions...
# 3
What about pflags?pflags Print the /proc tracing flags, the pendingand held signals, and other /proc statusinformation for each lwp in each process. 7/M.
mAbrante at 2007-7-7 2:22:45 > top of Java-index,Solaris Operating System,Solaris Essentials - General Technical Questions...
# 4
Take a look at "coreadm", specifically "coreadm -e log". If you enable logging in the core processing, the OS will generate a syslog message every time a core is dumped. Exactly what you needed.
Cailin_Coilleach at 2007-7-7 2:22:45 > top of Java-index,Solaris Operating System,Solaris Essentials - General Technical Questions...