Module fallback

Module fallback 

Source
Expand description

Fallback telemetry provider using nvidia-smi and /proc.

When BPF probes are unavailable (non-Linux, no root, kernel < 6.12), this module polls nvidia-smi and /proc to populate the same AggregatedMetrics that BPF ring buffers would. This provides REAL GPU telemetry without any kernel instrumentation.

Structsยง

GpuMetrics ๐Ÿ”’

Functionsยง

nvidia_smi_available
Check if nvidia-smi is available on this system.
poll_nvidia_smi ๐Ÿ”’
Poll nvidia-smi CSV output for GPU metrics.
poll_proc_stat ๐Ÿ”’
Parse /proc/stat for CPU iowait percentage.
run_fallback
Run the fallback telemetry poller using nvidia-smi. Produces real GPU memory and utilization data without BPF.