'Init the class to collect stats about processes.'

def __init__(self, cache_timeout=60):

    self.username_cache = {}
    self.cmdline_cache = {}
    self.cache_timeout = cache_timeout
    self.cache_timer = Timer(self.cache_timeout)
    self.io_old = {}
    self._enable_tree = False
    self.process_tree = None
    self.auto_sort = True
    self._sort_key = 'cpu_percent'
    self.allprocesslist = []
    self.processlist = []
    self.reset_processcount()
    self.disable_tag = False
    self.disable_extended_tag = False
    self._max_processes = None
    self._filter = GlancesFilter()
    self.no_kernel_threads = False
    self._max_values_list = ('cpu_percent', 'memory_percent')
    self._max_values = {}
    self.reset_max_values()
