Performing actions on a PATROL Agent by using CLI
You can use Command Line Interface (CLI) commands to run the managepaactions utility. With this utility, you can send the following commands to multiple PATROL Agents at once:
sendSyncMsg
executePSL
These commands can be accessed from the <installationDirectory>\TrueSightPServer\truesightpserver\bin folder.
The sendSyncMsg
command
Use the sendSyncMsg
command to restart multiple or all PATROL Agents at once. The following parameters are available for the sendSyncMsg
command:
managepaactions sendSyncMsg user=<userName> [agentFile=<agentFileName>] [syncMsg=all] [waitInterval=<waitInterval>] [port=<port>] [protocol=<protocol>]
The parameters in sendSyncMsg
are described in the following table:
Parameter | Description |
---|---|
user=<username> | The name of the user who runs the utility. |
agentFile=<agentFileName> | Optional. Use this parameter to send the Open the Command Prompt and run the following commands to get the list of the PATROL Agents that you have saved in the agentFileName file:
agentFileName <agentFileName>: Specify the name and path of the file that contains the list of PATROL Agents. For example: C:\tableOut.txt. |
| Optionial. Use this parameter to send the |
| Optional. Use this parameter to specify the time delay to send the |
| Optional. The default values are:
|
The executePSL command
Use the executePSL
command to send the PSL
command to multiple or all PATROL Agents at once. The following parameters are available for the executePSL
command:
managepaactions executePSL user=<userName> pslFile=<PSLFilename> [agentFile=<agentFileName>] [pslCmd=all] [waitInterval=<waitInterval>] [port=<port>] [protocol=<protocol>]
The parameters in executePSL are described in the following table:
Parameter | Description |
---|---|
user=<username> | The name of the user who runs the utility. |
| Use this parameter to send the |
agentFile=<agentFileName> | Optional. Use this parameter to send the Open the Command Prompt and run the following commands to get the list of the PATROL Agents that you have saved in the agentFileName file:
agentFileName <agentFileName>: Specify the name and path of the file that contains the list of PATROL Agents. For example: C:\tableOut.txt. |
| Use this parameter to send the |
| Optional. Use this parameter to specify the time delay to send the |
| Optional. The default values are:
|
Comments
Log in or register to comment.