public static int readPid(final Path pidFile) {
    return readPid(pidFile.toFile());
  }
Returns true if a process identified by the process id was running on this host machine and has
been terminated by this operation.

@param pid process id
@return true if the process was terminated by this operation
geode-core/src/main/java/org/apache/geode/internal/process/ProcessUtils.java