docs: def meminfo():
      """Get the amount of memory and swap, Mebibytes"""
      f = open("/proc/meminfo")
      hwinfo = {}
      for line in f.readlines():
          meml = line.split()
          if (meml[0] == "MemTotal:"):
              mem = int(meml[1])
              hwinfo["Mem_MiB"] = mem/1024
          elif (meml[0] == "SwapTotal:"):
              swap = int(meml[1])
              hwinfo["Swap_MiB"] = swap/1024
      f.close()
      return hwinfo