Opcodes that monitor and control real-time performance are:
active
cpuprc
cpumeter
exitnow
maxalloc
prealloc
The running csound process can be terminated using exitnow.