Code Review
/
bottlenecks.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
Merge "Add description of environment clean-up" into stable/danube
[bottlenecks.git]
/
testsuites
/
vstf
/
vstf_scripts
/
vstf
/
agent
/
perf
/
utils.py
diff --git
a/testsuites/vstf/vstf_scripts/vstf/agent/perf/utils.py
b/testsuites/vstf/vstf_scripts/vstf/agent/perf/utils.py
index
4f7ddb6
..
f9ca46c
100644
(file)
--- a/
testsuites/vstf/vstf_scripts/vstf/agent/perf/utils.py
+++ b/
testsuites/vstf/vstf_scripts/vstf/agent/perf/utils.py
@@
-26,7
+26,9
@@
def get_pid_by_name(process_name):
def get_cpu_num():
- cpu_num = check_output('cat /proc/cpuinfo | grep processor | wc -l', shell=True).strip()
+ cpu_num = check_output(
+ 'cat /proc/cpuinfo | grep processor | wc -l',
+ shell=True).strip()
cpu_num = int(cpu_num)
return cpu_num