mirror of
https://github.com/nicolargo/glances.git
synced 2024-12-24 01:35:23 +03:00
Replace cmdline per name when filter Idle process ! Fuck... Had to sleep...
This commit is contained in:
parent
2951682ee1
commit
7f4f1a4be4
@ -530,8 +530,8 @@ class GlancesGrabProcesses:
|
||||
procstat = self.__get_process_stats__(proc)
|
||||
# Ignore the 'idle' process on Windows or Bsd
|
||||
# Waiting upstream patch from PsUtil
|
||||
if ((is_Bsd and (procstat['cmdline'] == 'idle'))
|
||||
or (is_Windows and (procstat['cmdline'] == 'System Idle Process'))):
|
||||
if ((is_Bsd and (procstat['name'] == 'idle'))
|
||||
or (is_Windows and (procstat['name'] == 'System Idle Process'))):
|
||||
continue
|
||||
# Update processlist
|
||||
self.processlist.append(procstat)
|
||||
|
Loading…
Reference in New Issue
Block a user