Set Terminal Length
If you try to run two policies containing SSH objects at the same time, then unexpected errors can occur. For example, the first policy can send commands in the SSH session created by the second policy. These errors occur because a class which handles the SSH connection is static.
This Automation Manager object sets the terminal length for the device. Terminal length determines the number of rows returned by a page. Setting the terminal length to zero (0) removes any output pagination and will return all output from executing the specified command.
(missing or bad snippet)Input Parameters
Name | Type | Required | Description |
---|---|---|---|
Page Length | Number | Yes | Terminal length determines the number of rows returned by a page. |
Set Terminal | Boolean | Yes | Set Terminal length. For legacy devices. |
Output Parameters
Name | Type | Description |
---|---|---|
SSHOutput | String | The Output produced from setting the Page Length. |
Result | Number | Returns a success value of zero or any value other than zero to indicate failure. |
Example Input Parameters
Name | Type | Required | Example |
---|---|---|---|
Page Length | Number | Yes | 0 |
Set Terminal | Boolean | Yes | Terminal |