From: Gary Wright Date: 2008-01-06T02:24:57+09:00 Subject: Re: how to get CPU usage On Jan 5, 2008, at 12:09 PM, Gary Wright wrote: > trap ("SIGXCPU") { puts 'received XCPU, shutting down'; exit } On Mac OS X, SIGXCPU gets sent every second or so once you've exceeded the hard limit. You can still ignore or catch the signal at that point---the os won't just kill the process. I'm not sure if this behavior follows the applicable standards or is just OS X's take on the situation. Gary Wright