Avaya M770 用户手册
![Avaya](https://files.manualsbrain.com/attachments/539de53b12b0cfce0bb8cf1e3bb961e969d9f556/common/fit/150/50/0bfb423b07b431ecf5ac095ccde7771f5eac50e962dfba59f8e256280b3d/brand_logo.png)
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.
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.
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.
has already finished running.