code: def _get_mem_available():
      """
      Get information about memory available, not counting swap.
      """
      try:
          import psutil
  
          return psutil.virtual_memory().available
      except (ImportError, AttributeError):
          pass
  
      if sys.platform.startswith("linux"):
          info = {}
          with open("/proc/meminfo", "r") as f:
              for line in f:
                  p = line.split()
                  info[p[0].strip(":").lower()] = float(p[1]) * 1e3
  
          if "memavailable" in info:
              # Linux >= 3.14
              return info["memavailable"]
          else:
              return info["memfree"] + info["cached"]
  
      return None
  
file_path: catboost/contrib/python/scipy/py3/scipy/_lib/_testutils.py
imports: import os
  import re
  import sys
label_desc: Use image node_id 4 for calling a global function with example usage: _get_mem_available() and returns: None, psutil, info, unknown