SURVIVOR: sleep Check Module
About sleep
basics
Module Type Scheduler Remote
check Yes Yes
syntax
     module sleep {
       seconds <number>
     }
 

Dependencies

  • None

Arguments

Name Type Value
seconds number between 0 and infinity Number of seconds module should pause before exiting.

Description

The sleep module uses the Perl sleep() built-in to pause for the specified number of seconds. The module is primarily of use when testing scheduler behavior with regard to time-outs. Note that the sleep time is constant--not linear with the number of hosts.

Examples

  1. To sleep for 2 seconds:
         module sleep {
           seconds 2
         }
         

$Date: 2006/11/19 21:47:52 $
$Revision: 0.4 $
keywords
seconds