summaryrefslogtreecommitdiff
path: root/scripts/pmap.py
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/pmap.py')
-rwxr-xr-xscripts/pmap.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/pmap.py b/scripts/pmap.py
index 300f23e9..459927bf 100755
--- a/scripts/pmap.py
+++ b/scripts/pmap.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
# Copyright (c) 2009, Giampaolo Rodola'. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
@@ -8,7 +8,7 @@
A clone of 'pmap' utility on Linux, 'vmmap' on macOS and 'procstat -v' on BSD.
Report memory map of a process.
-$ python scripts/pmap.py 32402
+$ python3 scripts/pmap.py 32402
Address RSS Mode Mapping
0000000000400000 1200K r-xp /usr/bin/python2.7
0000000000838000 4K r--p /usr/bin/python2.7