docs: def cpuinfo():
      """Get the cpu info"""
      f = open("/proc/cpuinfo")
      hwinfo = {}
      for line in f.readlines():
          cpul = line.split(":")
          name = cpul[0].strip()
          if (len(cpul) > 1):
              val = cpul[1].strip()
          if (name == "model name"):
              hwinfo["CPU"] = val
          elif (name == "cpu MHz"):
              hwinfo["MHz"] = int(round(float(val)))
      f.close()
      return hwinfo