public Integer getPid() {
      return pid;
    }
Gets the process ID of the running GemFire service if known, otherwise returns null.

@return a integer value indicating the process ID (PID) of the running GemFire service, or
        null if the PID cannot be determined.
geode-core/src/main/java/org/apache/geode/distributed/AbstractLauncher.java