getpid

Function

Required Permissions: MACHINE_STATE

Description

Returns the current pid of the Velociraptor process.

This is typically used to exclude analysis from our own process.