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 22.1 for BMC Helix Operations Management. Open link


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




This function has no parameters.


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.


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;}

Was this page helpful? Yes No Submitting... Thank you