Browse code

Fix path to mlock_report

This patch fixes path to mlock_report.py. Also add python-psutil
to dstat depends as it is required by mlock_report.

Change-Id: Ia2b507a7b923f1e3393a9cb7746c66d39d6abfde

Vasyl Saienko authored on 2017/08/01 06:16:51
Showing 3 changed files
... ...
@@ -1 +1,2 @@
1 1
 dstat
2
+python-psutil
... ...
@@ -1 +1,2 @@
1 1
 dstat
2
+python-psutil
... ...
@@ -88,7 +88,7 @@ function tracker {
88 88
             # list processes that lock memory from swap
89 89
             if [[ $unevictable -ne $unevictable_point ]]; then
90 90
                 unevictable_point=$unevictable
91
-                ${PYTHON} ./tools/mlock_report.py
91
+                ${PYTHON} $(dirname $0)/mlock_report.py
92 92
             fi
93 93
 
94 94
             echo "]]]"