private ServerState statusInProcess() {
    if (isStartingOrRunning()) {
      debug(
          "Getting status from the ServerLauncher instance that actually launched the Geode Cache Server.%n");
      return new ServerState(this, isRunning() ? Status.ONLINE : Status.STARTING);
    }
    return new ServerState(this, Status.NOT_RESPONDING);
  }
Invokes the 'status' command and operation to check the status of a Geode server (a cache
server).

@return a {@link ServerState} representing the status of the server
geode-core/src/main/java/org/apache/geode/distributed/ServerLauncher.java