public void status(final String[] args) throws Exception {
    workingDirectory =
        IOUtils.tryGetCanonicalFileElseGetAbsoluteFile((File) getStopOptions(args).get(DIR));
    System.out.println(getStatus());
    ExitCode.NORMAL.doSystemExit();
  }
Prints the status of the GemFire JMX Agent running in the configured working directory.
geode-core/src/main/java/org/apache/geode/admin/jmx/internal/AgentLauncher.java