Raritan Computer SX8 用户手册

下载
页码 172
146 D
OMINION 
SX
 
I
NSTALLATION AND 
O
PERATIONS 
M
ANUAL
 
ampdelay <seconds> 
Pauses the TCL script a number of seconds equal to the integer argument. 
 
amptriggerevent <event> <message> 
Generates an event with the appropriate associated message. The event may not begin with the amp prefix. 
Events that begin with the amp prefix may only be generated by the AMP and not by a user created script 
or interactively. 
 
amplock <port> 
Gets write access to the console and locks it. 
 
ampunlock <port> 
Unlocks the console regardless of who has write access to the console. The script must be running as an 
Administrator to succeed. 
 
amplisten 
Reads the client input waiting to be read by the interpreter, calls exec on the input, and returns the resulting 
string to the client. 
 
ampsave 
Saves any changes to the system configuration. In order for changes (network) to take effect, the system 
will be rebooted. 
 
ampreload 
Reloads the previous configuration before changes were made. 
 
amppermission [on/off] 
In order for observers and operators to access a user programmed TCL Script Server, the script must issue 
amppermssion off to allow the access. 
Note: if the permission is left off without restoring security, non-administrator users may gain privilege 
access through TCL scripting shell.  A reset to the TCL interpreter or the device will reset the permission 
to on and prevent observer and operator type users from accessing TCL interpreter. 
ampresponse 
Flushes the output buffer to the client who has last requested the data.