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");
Was this page helpful? Yes No Submitting... Thank you

Comments