diff options
author | Kali Kaneko (leap communications) <kali@leap.se> | 2016-04-10 19:02:25 -0400 |
---|---|---|
committer | Kali Kaneko (leap communications) <kali@leap.se> | 2016-04-10 19:02:25 -0400 |
commit | de71c3fba4036e80d842fad9da0310d6a0a93603 (patch) | |
tree | 08a854dd1c7e586cafb9db1363701565e963f42d /measure-perf-series.py | |
parent | d7e02ebd152cde198654c306792fe44ff8bf6b90 (diff) |
renaming for clarity
Diffstat (limited to 'measure-perf-series.py')
-rw-r--r-- | measure-perf-series.py | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/measure-perf-series.py b/measure-perf-series.py index 24e9d5f..6cfcb02 100644 --- a/measure-perf-series.py +++ b/measure-perf-series.py @@ -11,14 +11,9 @@ start = datetime.datetime.now() for i in range(POINTS): value = commands.getoutput('python get_ping_rate.py') print "Step", i, "...", value - # TODO --- cpu/mem too brittle. - cpu_mem = commands.getoutput('python get-client-cpu-mem.py') + cpu_mem = commands.getoutput('python get_client_cpu_mem.py') cpu, mem = cpu_mem.split() - print "CPU/MEM", cpu, mem now = datetime.datetime.now() secs = (now - start).total_seconds() - #print "TOOK", secs, "seconds" commands.getoutput( - #'echo %s\t%s >> series.log' % (secs, value)) 'echo %s\t%s\t%s\t%s >> series.log' % (secs, value, cpu, mem)) - #, cpu, mem)) |