code: public void showStatus() throws Exception {
  
          ServerStatusMessage message;
          if (_statusFile.exists()) {
              ServerStatusMessage[] messages = getAllMessages();
              message = messages[messages.length - 1];
          } else {
              message = ServerStatusMessage.NEW_SERVER_MESSAGE;
          }
          System.out.println(message.toString());
      }
docs: Show a human-readable form of the latest message in the server status
  file. If the status file doesn't yet exist, this will print a special
  status message indicating the server is new. The response will have the
  following form.
  
  <pre>
  STATE  : Some State
  AS OF  : 2006-03-29 06:44:23AM EST
  DETAIL : Detail line 1, if it exists
  Detail line 2, if it exists
  Detail line 3, etc..
  </pre>