code: def recent(self) -> dict[str, float]:
      return {k: v[-1] for k, v in self.quantities.items()}
  
file_path: distributed/distributed/system_monitor.py
imports: from __future__ import annotations
  import sys
  from collections import deque
  from typing import Any
  import psutil
  import dask.config
  from dask.typing import NoDefault, no_default
  from dask.utils import parse_timedelta
  from distributed.compatibility import WINDOWS
  from distributed.diagnostics import nvml
  from distributed.metrics import monotonic, time
label_desc: Use image node_id 2 for calling the SystemMonitor obj's underlying member method code with example usage: obj.recent() and returns: unknown