CgroupUsage#
Run commands and agent-written programs inside an operating-system boundary. See the guide.
- class zett_agent.sandbox.resources.CgroupUsage(peak_memory_bytes=None, memory_events_max=0, oom_kills=0, cpu_usage_microseconds=None, peak_processes=None)[源代码]#
What a cgroup reports after a run.
- 参数:
peak_memory_bytes (int | None)
memory_events_max (int)
oom_kills (int)
cpu_usage_microseconds (int | None)
peak_processes (int | None)