private void showSummary(Summary summary) {
    TerminalPrinter printer = getTerminalPrinter(SUMMARY_START_ROW);
    printer.print(String.format("HBase hbtop - %s", summary.getCurrentTime())).endOfLine();
    printer.print(String.format("Version: %s", summary.getVersion())).endOfLine();
    printer.print(String.format("Cluster ID: %s", summary.getClusterId())).endOfLine();
    printer.print("RegionServer(s): ").startBold().print(Integer.toString(summary.getServers()))
      .stopBold().print(" total, ").startBold().print(Integer.toString(summary.getLiveServers()))
      .stopBold().print(" live, ").startBold().print(Integer.toString(summary.getDeadServers()))
      .stopBold().print(" dead").endOfLine();
    printer.print("RegionCount: ").startBold().print(Integer.toString(summary.getRegionCount()))
      .stopBold().print(" total, ").startBold().print(Integer.toString(summary.getRitCount()))
      .stopBold().print(" rit").endOfLine();
    printer.print("Average Cluster Load: ").startBold()
      .print(String.format("%.2f", summary.getAverageLoad())).stopBold().endOfLine();
    printer.print("Aggregate Request/s: ").startBold()
      .print(Long.toString(summary.getAggregateRequestPerSecond())).stopBold().endOfLine();
  }
The screen that provides a dynamic real-time view for the HBase metrics. This shows the metric
{@link Summary} and the metric {@link Record}s. The summary and the metrics are updated
periodically (3 seconds by default).
hbase-hbtop/src/main/java/org/apache/hadoop/hbase/hbtop/screen/top/TopScreenView.java