Skip to content

Commit

Permalink
Update task_manager_index.py
Browse files Browse the repository at this point in the history
  • Loading branch information
midoks committed Jun 4, 2024
1 parent 67505f7 commit a44ac76
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion plugins/task_manager/task_manager_index.py
Original file line number Diff line number Diff line change
Expand Up @@ -823,7 +823,10 @@ def get_process_list_linux(self, get = {}):
for pid in self.pids:
tmp = {}
try:
p = psutil.Process(pid)
try:
p = psutil.Process(pid)
except Exception as e:
continue
with p.oneshot():
p_mem = p.memory_full_info()
if p_mem.rss == 0: continue
Expand Down

0 comments on commit a44ac76

Please sign in to comment.