mirror of
https://github.com/nicolargo/glances.git
synced 2024-12-23 01:01:31 +03:00
gids is not available on Windows
This commit is contained in:
parent
c1d5b96faf
commit
cab5946959
@ -235,10 +235,13 @@ class GlancesProcesses(object):
|
|||||||
'memory_info', 'memory_percent',
|
'memory_info', 'memory_percent',
|
||||||
'name', 'nice', 'pid',
|
'name', 'nice', 'pid',
|
||||||
'ppid', 'status', 'username',
|
'ppid', 'status', 'username',
|
||||||
'status', 'num_threads', 'gids']
|
'status', 'num_threads']
|
||||||
# io_counters availability: Linux, BSD, Windows, AIX
|
# io_counters availability: Linux, BSD, Windows, AIX
|
||||||
if LINUX or BSD or WINDOWS:
|
if not MACOS and not SUNOS:
|
||||||
standards_attr += ['io_counters']
|
standards_attr += ['io_counters']
|
||||||
|
# gids availability: Unix
|
||||||
|
if not WINDOWS:
|
||||||
|
standards_attr += ['gids']
|
||||||
|
|
||||||
# and build the processes stats list
|
# and build the processes stats list
|
||||||
try:
|
try:
|
||||||
|
Loading…
Reference in New Issue
Block a user