$ParentProcessID gives the ID assigned to the process which invokes the Mathematica kernel by the operating system under which it is run.
On operating systems where no process ID is assigned, $ParentProcessID is None.
See The Mathematica Book: Section 2.13.5.
See also: $ParentLink, $ProcessID, $CommandLine, $UserName, Environment.
THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
SEE THE DOCUMENTATION CENTER
FOR THE LATEST INFORMATION.