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