Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/services/console/lib/procmem/proc_smaps.py
diff options
context:
space:
mode:
Diffstat (limited to 'services/console/lib/procmem/proc_smaps.py')
-rw-r--r--services/console/lib/procmem/proc_smaps.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/services/console/lib/procmem/proc_smaps.py b/services/console/lib/procmem/proc_smaps.py
index ce93cb2..174bc6b 100644
--- a/services/console/lib/procmem/proc_smaps.py
+++ b/services/console/lib/procmem/proc_smaps.py
@@ -56,8 +56,8 @@ class ProcSmaps:
mapping = Mapping (size, rss, shared_clean, shared_dirty, private_clean, private_dirty, permissions, name)
self.mappings.append (mapping)
- num_lines -= 7
- line_idx += 7
+ num_lines -= 8
+ line_idx += 8
# Parses a line of the form "foo: 42 kB" and returns an integer for the "42" field
def parse_smaps_size_line (self, line):