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 23.3.

getpid()


Return the process identifier for the current PSL process.

Syntax

getpid()

Parameter

This function has no parameters.

Description

The getpid() function returns the integer PATROL process identifier of the current PSL process.

Example

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

printf("Current PID is : %d\n",getpid());

 

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