more stats
This commit is contained in:
@ -216,8 +216,9 @@ class CmdInterpreter(cmd.Cmd):
|
||||
ratio = None
|
||||
else:
|
||||
ratio = float(r.errorCount) / float(r.processCount)
|
||||
self.__println("#{0}: {1}, processCount: {2}, errorCount: {3}, ratio: {4}"
|
||||
.format(i, r.label, r.processCount, r.errorCount, ratio))
|
||||
self.__println("#{0}: {1} ({2}, {3}), processCount: {4}, errorCount: {5}, ratio: {6}"
|
||||
.format(i, r.label, r.unit, r.address,
|
||||
r.processCount, r.errorCount, ratio))
|
||||
|
||||
def help_stats(self):
|
||||
self.__println("Usage: stats")
|
||||
|
Reference in New Issue
Block a user