public static boolean exists(int pid) {
    throw new RuntimeException(
        "exists not allowed in pure java mode");
  }
Find out if a process exists.

@param pid the id of the process to check for
@return true if the process exists; false if it does not.
geode-logging/src/main/java/org/apache/geode/logging/internal/OSProcess.java