Skip to content

Commit fc75a8c

Browse files
authored
Merge pull request #56 from arza-zara/fix_shared
fix shared memory with Linux kernel >= 5.3
2 parents 7b7ab6c + 0daa345 commit fc75a8c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ps_mem.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -276,7 +276,7 @@ def getMemStats(pid):
276276
Shared_lines.append(line)
277277
elif line.startswith("Private"):
278278
Private_lines.append(line)
279-
elif line.startswith("Pss"):
279+
elif line.startswith("Pss:"):
280280
have_pss = 1
281281
Pss_lines.append(line)
282282
elif line.startswith("Swap:"):

0 commit comments

Comments
 (0)