I have a process running on Linux box which occasionally takes more than 100% (its a quad-core processor) CPU (as seen in 'top' output) and the other commands running on this process get stuck. By the time I notice this and dump process core, the CPU utilization drops to normal and the core does not show anything unusual.
Is there any way (command, script, etc.) which can generate process core based on CPU utilization, i.e. during spike automatically?