diff --git a/solox/__init__.py b/solox/__init__.py index 2eb1477..88decb3 100644 --- a/solox/__init__.py +++ b/solox/__init__.py @@ -2,4 +2,4 @@ from __future__ import absolute_import -__version__ = '2.8.0' +__version__ = '2.8.1' diff --git a/solox/public/apm.py b/solox/public/apm.py index 587b699..13d8e00 100644 --- a/solox/public/apm.py +++ b/solox/public/apm.py @@ -54,7 +54,7 @@ def getTotalCpuStat(self): toks = line.split() if toks[1] in ['', ' ']: toks.pop(1) - for i in range(1, 7): + for i in range(1, 8): totalCpu += float(toks[i]) return float(totalCpu) diff --git a/solox/public/apm_pk.py b/solox/public/apm_pk.py index 975f28c..ee5db56 100644 --- a/solox/public/apm_pk.py +++ b/solox/public/apm_pk.py @@ -38,7 +38,7 @@ def getTotalCpuStat(self, deviceId): toks = line.split() if toks[1] in ['', ' ']: toks.pop(1) - for i in range(1, 7): + for i in range(1, 8): totalCpu += float(toks[i]) return float(totalCpu)