def start_standalone(config, args):
 logger.info('Start standalone mode')
 global standalone
 from glances.standalone import GlancesStandalone
 standalone = GlancesStandalone(config=config, args=args)
 standalone.serve_forever()

def start_standalone ( config , args ) : logger . info ( 'Start standalone mode' ) global standalone from glances . standalone import GlancesStandalone standalone = GlancesStandalone ( config = config , args = args ) standalone . serve_forever ( )
start the standalone mode .