protected static Integer identifyPid() {
      try {
        return ProcessUtils.identifyPid();
      } catch (PidUnavailableException handled) {
        return null;
      }
    }
The ServiceState is an immutable type representing the state of the specified Locator at any
given moment in time. The ServiceState associates the Locator with it's state at the exact
moment an instance of this class is constructed.
geode-core/src/main/java/org/apache/geode/distributed/AbstractLauncher.java