Docs.bmc.com will undergo a brief maintenance outage 27 March 2025. The site will be unavailable for ten minutes starting at 7:30 AM CDT/6 PM IST.

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");