public static DistributedSystemMXBean getDistributedSystemMXBean()
      throws IOException, MalformedObjectNameException {
    assertState(Gfsh.isCurrentInstanceConnectedAndReady(),
        "Gfsh must be connected in order to get proxy to a GemFire DistributedSystemMXBean.");
    return Gfsh.getCurrentInstance().getOperationInvoker().getDistributedSystemMXBean();
  }
Gets a proxy to the DistributedSystemMXBean from the GemFire Manager's MBeanServer, or null if
unable to find the DistributedSystemMXBean.
<p>

@return a proxy to the DistributedSystemMXBean from the GemFire Manager's MBeanServer, or null
        if unable to find the DistributedSystemMXBean.
geode-gfsh/src/main/java/org/apache/geode/management/internal/cli/shell/MXBeanProvider.java