Browse Source

Fixed another typo.

pull/10/head
Egon Rijpkema 3 years ago
parent
commit
31708e466e
  1. 2
      roles/kill_memory_hogs/files/kill_hoggs.py

2
roles/kill_memory_hogs/files/kill_hoggs.py

@ -100,7 +100,7 @@ def kill_hogs(memory_threshold, @@ -100,7 +100,7 @@ def kill_hogs(memory_threshold,
username = proc.username()
if not ((username[0] in ('s', 'p', 'f') and username[1:].isdigit())
or username[:5] == 'umcg-'):
continue # we only kill processes of p, s and f accounts.a
continue # we only kill processes of p, s and f accounts
users[username]['memory_percent'] += proc.cached_memory_percent
users[username]['cpu_percent'] += proc.cached_cpu_percent

Loading…
Cancel
Save