docs: def dump():
      """
      dump function
      """
  
      try:
          sensors = subprocess.check_output('sensors').decode('utf-8')
  
      except (FileNotFoundError, subprocess.CalledProcessError):
          print("Couldn't read CPU temp")
  
      else:
          cores = []
  
          for line in sensors.splitlines():
              if line.startswith('Core '):
                  core, rest = line.split(':')
                  temp = rest.strip().split()[0]
                  cores.append((core, temp))
  
          for core, temp in cores:
              print(core + ':', temp)
  
      cpu_number = 0
  
      while True:
          try:
              _file = open(
                  CPU_PREFIX + 'cpu{}/cpufreq/scaling_governor'.format(cpu_number))
          except:
              break
  
          print('Core ' + str(cpu_number) + ':', _file.read().strip(), end=', ')
  
          _file.close()
  
          try:
              _file = open(
                  CPU_PREFIX + 'cpu{}/cpufreq/scaling_cur_freq'.format(cpu_number))
          except:
              break
  
          freq = round(int(_file.read()) / 10 ** 6, 2)
  
          print(freq, 'GHz')
  
          cpu_number += 1