Skip to main content

Python module

max.diagnostics.cpu

CPU diagnostics API.

This module allows collecting CPU utilization metrics for a set of processes, identified by PID.

Monitoringโ€‹

CPUMetricsCollectorCollects aggregate CPU time across a set of PIDs.

Statsโ€‹

CPUMetricsCPU metrics collected during benchmarking.

Functionsโ€‹

collect_pids_for_portCollects PIDs of processes (and their children) listening on a port.