LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

l9gpu

GPU observability agent with Kubernetes and Slurm workload attribution

TLDR

Install the Python package
$ pip install l9gpu
copy
Monitor NVIDIA GPUs and emit OTLP telemetry
$ l9gpu nvml_monitor --sink otel --cluster my-cluster
copy
Quick test without sending data
$ l9gpu nvml_monitor --sink stdout --once
copy
Monitor AMD GPUs
$ l9gpu amd_monitor --sink otel --cluster my-cluster
copy
Monitor Intel Gaudi
$ l9gpu gaudi_monitor --sink otel --cluster my-cluster
copy
Run via systemd or Kubernetes DaemonSet (see Helm)

SYNOPSIS

l9gpu subcommand [options]Common subcommands: nvmlmonitor, amdmonitor, gaudimonitor, slurmmonitor and others.

DESCRIPTION

l9gpu is the core CLI for Last9 GPU Telemetry. It runs as a per-node agent that collects hardware metrics (NVML, amdsmi, hl-smi) from GPUs and enriches them with workload context from Kubernetes or Slurm before exporting standard OpenTelemetry (OTLP) metrics and logs.This enables per-pod, per-job, per-user GPU accounting without building custom pipelines. It supports NVIDIA, AMD, and Intel Gaudi GPUs and integrates with any OTLP-compatible backend.The package also provides related health check tooling.

PARAMETERS

--sink otel|stdout|file

Destination for telemetry (otel recommended for production).
--cluster name
Cluster identifier attached to emitted data.
--once
Run a single collection cycle and exit (useful for testing).
Other options and subcommands are listed via `l9gpu --help`.Configuration can also be supplied via TOML files.

CAVEATS

Requires appropriate vendor libraries or tools (NVML for NVIDIA, etc.) and Python 3.10+. Primarily intended for cluster operators; not a replacement for DCGM or full Prometheus exporters. Emits OTLP; a collector is typically used downstream for storage/visualization.

SEE ALSO

RESOURCES

Copied to clipboard
Kai