7210 SAS-M, T, R6, R12, Mxp, Sx, S Basic System
Configuration Guide
System Management
Edition: 01 3HE 16132 AAAB TQZZA 661
script-policy
Syntax script-policy script-policy-name [owner owner-name]
script-policy run-history [run-state]
Context show>system>script-control
Supported
Platforms
Supported on all 7210 SAS platforms as described in this document, including platforms
configured in the access-uplink operating mode
Description This command displays script policy information.
Parameters script-policy-name — Displays policy information for the specified script.
owner-name — Displays information for the specified script owner.
Default “TiMOS CLI”
run-state — Displays information for script policies in the specified state.
Values executing, initializing, terminated
Output The following output is an example of script policy information, and Table 92 describes the
output fields.
Sample Output
show system script-control script-policy run-history terminated
===============================================================================
Script-policy Run History
===============================================================================
Script policy "test"
Owner "TiMOS CLI"
-------------------------------------------------------------------------------
Script Run #17
-------------------------------------------------------------------------------
Start time : 2006/11/06 20:30:09 End time : 2006/11/06 20:35:24
Elapsed time : 0d 00:05:15 Lifetime : 0d 00:00:00
State : terminated Run exit code : noError
Result time : 2006/11/06 20:35:24 Keep history : 0d 00:49:57
Operational status Enabled — Operational status is enabled
Disabled — Operational status is disabled
Script source
location
Displays the location of the scheduled script
Last script error Displays the system time of the last error
Last change Displays the system time of the last change
Table 91 Output Fields: Script (Continued)
Label Description (Continued)