Important This documentation space contains information about PATROL Agents when deployed in a TrueSight Operations Management environment. If you are a BMC Helix Operations Management user, see PATROL Agent for BMC Helix Operations Management 24.3.01.

desktop()


Send a PATROL link command to the PATROL Console for execution.

Syntax

desktop(command,[application])

Parameters

Parameter

Definition

command

PATROL link command for the console to execute

application

optional name of a valid application*Default* 
The command is sent to all consoles that are interested in the PSL process.

Description

The desktop() function sends a specified PATROL link command to the console for execution. If application is not specified, the desktop() function sends command to all consoles that are interested in the PSL process. If application is specified and is a valid application (that is, the application exists), then the output of command is sent to all consoles that are interested in that application.

Example

The following is an example of the desktop() function: 

# Open the FSCapacity parameter of the root instance of the FILESYSTEM
# application for the nebula agent.
desktop("open nebula:/FILESYSTEM/root/FSCapacity");
# Open it only on those systems that are monitoring the ORACLE application.
desktop("open nebula:/FILESYSTEM/root/FSCapacity","ORACLE");

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*