public static boolean isProcessAlive(final int pid) {
    isTrue(pid > 0, "Invalid pid '" + pid + "' specified");

    return internal.isProcessAlive(pid);
  }
Returns true if a process identified by the process id is currently running on this host
machine.

@param pid process id to check for
@return true if the pid matches a currently running process
geode-core/src/main/java/org/apache/geode/internal/process/ProcessUtils.java