Monitoring

By default, goodseed automatically captures system info in a background thread:

  • stdout / stderr — every print() and warning is logged as a string series
  • Tracebacks — captured on unhandled exceptions (run status set to failed)
  • CPU & memory — via psutil (included)
  • GPU — NVIDIA (via nvidia-smi) and AMD (via rocm-smi), no extra dependency needed

Disable any capture individually:

run = goodseed.Run(
    capture_stdout=False,
    capture_stderr=False,
    capture_hardware_metrics=False,
    capture_traceback=False,
)Copied!