Avaya M770 用户手册

下载
页码 338
Chapter 21
Command Line Interface Scripts
262
Avaya M770 ATM Switch User’s Guide
Monitoring CLI Script Execution
You can monitor the progress of the script execution using the 
script 
showprogress
 command.
Stopping a CLI Script
You can abort a running script execution using the 
script stop
 command. 
Note:  
 The script will stop only when currently executed script command is 
finished.
[log|console]
The destination of the output of the executed
commands contained in the script file. If “log” 
specified, the output will be stored in the script 
log. The script log may be viewed later using 
“script log show” command (see below). 
Otherwise, if “console” specified, the script output 
will be redirected to that terminal, from which the 
script was started, i.e. serial terminal or Telnet 
window. If neither specified, “log” is used by 
default.
[delay=<delay-
value>]
Insert delay between running of consequent
commands of the script, measured in milliseconds. 
The <delay-value> may vary between 0-5000 ms. 
If is not specified, zero is used.
Example:
M15-155s8:/>script run script.txt console delay=100
Command:
M15-155s8:/> script showprogress
Output:
Script file execution 
progress: 11%
If the script is still running
No script file execution in 
progress
If the script file hasn't been run or 
has already finished running.