Difference between revisions of "Ns sleep"

From AOLserver Wiki
Jump to navigation Jump to search
(imported from WiKit id 661)
 
 
Line 9: Line 9:
 
'''SYNOPSIS'''
 
'''SYNOPSIS'''
  
: '''ns_sleep''' ''seconds''
+
: '''ns_sleep''' ''seconds[:microseconds]''
  
 
'''DESCRIPTION'''
 
'''DESCRIPTION'''
  
: Sleeps for the number of seconds specified in ''seconds''.
+
: Sleeps for the specified duration of time in ''seconds'' and optionally ''microseconds''.
  
 
'''EXAMPLES'''
 
'''EXAMPLES'''
  
 
     % ns_sleep 2
 
     % ns_sleep 2
 +
    % ns_sleep 0:500000 ;#sleeps for half a second
  
 
'''SEE ALSO'''
 
'''SEE ALSO'''

Latest revision as of 06:03, 6 October 2009

Man page: http://aolserver.com/docs/tcl/ns_sleep.html


NAME

ns_sleep - Sleep for a specified number of seconds

SYNOPSIS

ns_sleep seconds[:microseconds]

DESCRIPTION

Sleeps for the specified duration of time in seconds and optionally microseconds.

EXAMPLES

   % ns_sleep 2
   % ns_sleep 0:500000 ;#sleeps for half a second

SEE ALSO


Category Documentation - Category Core Tcl API