Switch to python3 for memory_peak service
When starting 'memory_peak' service is using python command instead of python3, while psutil (required package) is most probably being installed into the python3 environment (as we are dropping python2.7 support). Closes-Bug: #1860753 Change-Id: Ia2b7e2e33d784560443131e2965f520b361a54e3
This commit is contained in:
parent
455be66098
commit
3555b48ff4
@ -14,7 +14,7 @@
|
||||
|
||||
set -o errexit
|
||||
|
||||
PYTHON=${PYTHON:-python}
|
||||
PYTHON=${PYTHON:-python3}
|
||||
|
||||
# time to sleep between checks
|
||||
SLEEP_TIME=20
|
||||
|
2
tools/mlock_report.py
Executable file → Normal file
2
tools/mlock_report.py
Executable file → Normal file
@ -1,5 +1,3 @@
|
||||
#!/usr/bin/env python
|
||||
|
||||
# This tool lists processes that lock memory pages from swapping to disk.
|
||||
|
||||
import re
|
||||
|
Loading…
Reference in New Issue
Block a user