Executes actions against the specified host.
1 system.node.exec
<system.node.exec
host='host'
command='command'
/>
Attributes | |||||
---|---|---|---|---|---|
Name | Type | Required | Default | Description | |
Ahost | string | Host code. | |||
Acommand | string | Command host. |
Returns | |
---|---|
Type | Description |
string | Confirmation of the command execution. |
Example
Executes a Garbage Collection of the server memory.
Copy
<xsql-script name='system_node_exec_sample1'> <body> <system.node.exec host="golum" command="gc" /> </body> </xsql-script>
Example
Executes a update-status of the server.
Copy
<xsql-script name='system_node_exec_sample1'> <body> <system.node.exec host="golum" command="update-status" /> </body> </xsql-script>
Example
Removes the indicated session of the server.
Copy
<xsql-script name='system_node_exec_sample1'> <body> <system.node.exec host="golum" command="remove-session 1272717171727222" /> </body> </xsql-script>
Example
Removes the specified cache in the server.
Copy
<xsql-script name='system_node_exec_sample1'> <body> <system.node.exec host="golum" command="remove-cache wic_dbms_servers" /> </body> </xsql-script>