code: def _mem_stats():
      import psutil
  
      mem = psutil.virtual_memory()
      swap = psutil.swap_memory()
      return {
          "sys/mem_total": mem.total,
          "sys/mem_free": mem.free,
          "sys/mem_used": mem.used,
          "sys/mem_util": mem.percent / 100,
          "sys/swap_total": swap.total,
          "sys/swap_free": swap.free,
          "sys/swap_used": swap.used,
          "sys/swap_util": swap.percent / 100,
      }
  
imports: from guild.plugins.summary_util import SummaryPlugin
label_desc: Use image node_id 1 for calling a global function with example usage: _mem_stats() and returns: dict