Cool DTrace hack

The destructive mode of DTrace is a really interesting way to do cool things - for example triggering a ZFS snapshot whenever you an application uses the rm. Brian Nitz describes such a dtrace script in his article Anti-destruction destructive dtrace script and y2k9. And Bernd Finger describes, how you can keep short-living processes alive for a deeper analysis by intercepting the exit calls.