Skip to content

Commit

Permalink
improved memory process monitor to also print a total
Browse files Browse the repository at this point in the history
  • Loading branch information
dvojtise committed Sep 23, 2024
1 parent ac6fe63 commit 7ca23e7
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,10 @@ def printAllMax(procs):
# for p in procs[:86]:
for p in procs:
printProc(p['proc'])
total_uss = 0
for p in procs:
total_uss += p['proc']._uss
print( "TOTAL USS = " + convert_bytes(total_uss))

def main():
ad_pids = []
Expand Down

0 comments on commit 7ca23e7

Please sign in to comment.