aboutsummaryrefslogtreecommitdiff
path: root/src/benchmark.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/benchmark.py')
-rw-r--r--src/benchmark.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/benchmark.py b/src/benchmark.py
index 50faf00..4069da1 100644
--- a/src/benchmark.py
+++ b/src/benchmark.py
@@ -339,7 +339,10 @@ class Benchmark (object):
os.remove("status")
# TODO get VmHWM from servers
else:
- pass
+ result["server_status"] = []
+ for server in self.servers:
+ with open("/proc/{}/status".format(server.pid), "r") as f:
+ result["server_status"].append(f.read())
# Parse perf output if available
if self.measure_cmd == self.defaults["measure_cmd"]: