Fortinet white logo
Fortinet white logo

Script Reference Guide

Get_pid()

Get_pid()

Returns the PID value of the VS process.

Syntax

Get_pid();

Arguments

N/A

Events

Applicable in all events.

Example

when HTTP_REQUEST {
pid = get_pid();
debug(“VS PID is : %d\n”, pid)
}

Supported Version

FortiADC version 5.2.x and later.

Get_pid()

Get_pid()

Returns the PID value of the VS process.

Syntax

Get_pid();

Arguments

N/A

Events

Applicable in all events.

Example

when HTTP_REQUEST {
pid = get_pid();
debug(“VS PID is : %d\n”, pid)
}

Supported Version

FortiADC version 5.2.x and later.