@CommandHelp('Displays summary information for each namespace.')
    def do_namespace(self, line):
        ns_infos = self.logger.infoSummary(stanza='namespace')
        ns_stats = self.logger.infoStatistics(stanza='namespace')
        for timestamp in sorted(ns_stats.keys()):
            if not ns_stats[timestamp]:
                try:
                    if ns_infos[timestamp]:
                        self.view.infoString(timestamp, ns_infos[timestamp])
                except:
                    pass
                continue
            self.view.infoNamespace(flip_keys(ns_stats[timestamp]), self.logger.get_log_snapshot(timestamp=timestamp), title_suffix=" (%s)"%(timestamp), **self.mods)
dataset/ETHPy150Open aerospike/aerospike-admin/lib/logcontroller.py/InfoController.do_namespace/original