[dtrace-discuss] kernel pause/resume

Michael Bergknoff
Wed, 10 Aug 2005 23:27:30 -0000

Eric Schrock wrote:
> There is the chill() action, which allows you to induce arbitrary delay
> (up to a maximum limit).  See:
>
> http://docs.sun.com/app/docs/doc/817-6223/6mlkidlhl?a=view
>
> You can also stop processes using the stop() action, and resume them
> using ''system("prun %d")''.
>
> - Eric

I should have mentioned that I looked into chill but the manual said
it''s not safe to chill for more than a few hundred milliseconds due to
issues with interrupts in the probed context. I''m looking at starting
one thread and pausing for minutes before resuming in another thread. As
for stop() I believe that stops on the way out of the kernel which is
not what I need.

Thanks,
Mike