mirror of
https://github.com/nicolargo/glances.git
synced 2024-12-21 08:11:39 +03:00
New pocesses class for server
This commit is contained in:
parent
8262b26cf6
commit
f4fdafdd2c
@ -941,14 +941,16 @@ class GlancesStatsServer(GlancesStats):
|
||||
self._init_host()
|
||||
self.all_stats["host"] = self.host
|
||||
|
||||
# Init the process list
|
||||
self.process_list_refresh = True
|
||||
self.glancesgrabprocesses = GlancesGrabProcesses()
|
||||
|
||||
def __update__(self, input_stats):
|
||||
"""
|
||||
Update the stats
|
||||
"""
|
||||
|
||||
GlancesStats.__update__(self, input_stats)
|
||||
self.process_list_refresh = True
|
||||
self._process_list_refresh()
|
||||
|
||||
self.all_stats["cpu"] = self.cpu
|
||||
self.all_stats["percpu"] = self.percpu
|
||||
|
Loading…
Reference in New Issue
Block a user