Sys::FreezeThaw

Stop and start all user processes on a machine
Download

Sys::FreezeThaw Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Publisher Name:
  • Marc Lehmann
  • Publisher web site:
  • http://www.goof.com/pcg/marc/

Sys::FreezeThaw Tags


Sys::FreezeThaw Description

Stop and start all user processes on a machine Sys::FreezeThaw is a Perl module that implements a very specific feature: stopping(freezing and thawing/continuing all user processes on the machine. It works by sending SIGSTOP to all processes, parent-process first, so that the wait syscall will not trigger on stopped children. Restarting is done in reverse order.Using the combined function Sys::FreezeThaw::freezethaw is recommended as it will catch runtime errors, but stopping and restarting can be dine via seperate function calls.SYNOPSIS use Sys::FreezeThaw; Sys::FreezeThaw::freezethaw { # run code while system is frozen }; my $token = Sys::FreezeThaw::freeze; ... do something ... Sys::FreezeThaw::thaw $token; Requirements: · Perl


Sys::FreezeThaw Related Software