private int readOtherPid() {
    int otherPid = 0;
    try {
      otherPid = ProcessUtils.readPid(pidFile);
    } catch (NumberFormatException ignore) {
      // suppress
    }
    return otherPid;
  }
Creates a new pid file and writes this process's pid into it.

@param force if true then the pid file will be replaced if it already exists it

@throws FileAlreadyExistsException if the pid file already exists and force is false
@throws IOException if unable to create or write to the file
geode-core/src/main/java/org/apache/geode/internal/process/LocalProcessLauncher.java