Information

This site will undergo a brief period of maintenance on Friday, 5 December at 12:30 AM Central/12:00 PM IST. During a 30 minute window, site availability may be intermittent.

full_discovery()


Verify that the process is currently in a full discovery cycle.

Syntax

full_discovery()


Parameter

This function has no parameters.

Description

The full_discovery() function returns TRUE if the PSL script containing it is an application discovery script and it is currently in a full discovery cycle. Otherwise, the full_discovery() function returns FALSE. 

A full discovery cycle is done after the PATROL Agent's process cache is refreshed. This flag therefore indicates whether the process cache has been refreshed since the last time the script was executed.

Example

The following example tests whether the PSL script is in a full discovery cycle and exits the script if it is not.

# If we are not in a full discovery cycle
# we can exit immediately
if (!full_discovery()) {exit;}

 

 

 

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

BMC PATROL Agent 11.3.02