def __init__(self, config=None, args=None): # Init stats self.stats = GlancesStats(config) # Initial system informations update self.stats.update() # Init the Bottle Web server self.web = GlancesBottle(args=args)
def __init__(self, config=None, args=None): # Init stats self.stats = GlancesStats(config) if not is_windows and args.no_kernel_threads: # Ignore kernel threads in process list glances_processes.disable_kernel_threads() # Initial system informations update self.stats.update() # Init the Bottle Web server self.web = GlancesBottle(args=args)