Important 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 for BMC Helix Operations Management 24.1.

kill()


Terminate a PSL process.

Syntax

kill(pid)

Parameter

Parameter

Definition

pid

integer PATROL process identifier for the PSL process that is to be terminated*Default* 
process from which the kill() function is called

Description

The kill() function terminates the PSL process identified by the process identifier pid. If pid is omitted, the kill() function terminates the process from which it is called. 

The kill() function returns 0 if the requested process was killed, or 1 if pid did not exist or the process was not killed.

Example

The following is an example of the kill() function:

kill(4546);

 

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