Skip to content

Commit 3555b48

Browse files
author
Federico Ressi
committed
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
1 parent 455be66 commit 3555b48

2 files changed

Lines changed: 1 addition & 3 deletions

File tree

tools/memory_tracker.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
set -o errexit
1616

17-
PYTHON=${PYTHON:-python}
17+
PYTHON=${PYTHON:-python3}
1818

1919
# time to sleep between checks
2020
SLEEP_TIME=20

tools/mlock_report.py

100755100644
Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
#!/usr/bin/env python
2-
31
# This tool lists processes that lock memory pages from swapping to disk.
42

53
import re

0 commit comments

Comments
 (0)