desktop()
Send a PATROL link command to the PATROL Console for execution.
Syntax
Parameters
Parameter | Definition |
---|---|
command | PATROL link command for the console to execute |
application | optional name of a valid application*Default* |
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:
# 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");