Linux servers, Kubernetes & Slurm clusters
GPU monitoring tools for Linux clusters and production AI workloads
Monitoring a 1-GPU workstation is different from monitoring an 8-to-1,024 GPU training or serving fleet. Compare the Linux CLI utilities, open-source exporters, commercial APM suites, and crash-triage agents that engineers rely on in production.
GPU monitoring software compared
| Software | Target scope | Strengths | Operational limit |
|---|---|---|---|
| nvidia-smi / nvidia-smi dmon | Single Linux host CLI | Zero install beyond driver. Streams SM util, memory, temp, power, and PCIe counters every second. | No multi-node aggregation, no Slack/PagerDuty routing, and no rank-level crash correlation. |
| nvtop | Interactive single-node TUI | Fast live view of per-process GPU compute and memory across NVIDIA, AMD, and Intel accelerators. | Interactive SSH tool only. Does not retain historical logs or trigger alerts after a pod exits. |
| DCGM Exporter + Prometheus + Grafana | Multi-node Kubernetes & Slurm metrics | Industry-standard open-source fleet dashboards, Xid counters, ECC rates, and threshold alerts. | Interval scraping misses rapid OOM/NCCL crashes and does not parse Python or CUDA stack traces. |
| Datadog / New Relic / Grafana Cloud | Hosted commercial infrastructure APM | Managed dashboards, host correlation, and enterprise log retention across non-GPU and GPU services. | Per-host and per-GB log costs grow fast when multi-rank training emits verbose NCCL_DEBUG output. |
| Denpex | Continuous job monitor + crash triage | Single-file stdlib Python wrapper alerts Slack/PagerDuty with the initiating rank, Xid/OOM class, and next action. | Focuses on failure detection, health checks, and root-cause triage rather than replacing PromQL trend charts. |
Essential Linux GPU monitoring commands
Run these commands directly on Ubuntu or RHEL GPU hosts to monitor real-time utilization, memory pressure, and hardware throttling before deploying full cluster collectors:
# Real-time device telemetry stream (power, temp, SM/mem util, ECC, PCIe)
nvidia-smi dmon -s pucvmet -d 2
# Query exact GPU UUID, PCI bus ID, memory, and throttle reasons
nvidia-smi --query-gpu=index,uuid,pci.bus_id,utilization.gpu,memory.used,memory.total,temperature.gpu,clocks_event_reasons.active --format=csv
# DCGM device monitor (if datacenter-gpu-manager is installed)
dcgmi dmon -e 155,203,252,1001,1002Upload your GPU log. Find what happened first.
Get the likely cause, supporting evidence, and next safe steps with the same cloud reasoning used by paid plans. A crash the engine recognizes is answered in seconds, then checked by an independent AI review that updates this page when it finishes. A crash it does not recognize waits for the AI's own answer, which can take a few minutes. No account, card, or installation. Logs are masked at Denpex API ingress and are not saved to account history.
Before uploading, review cloud data handling and local options.
Upload your log file. Large files are processed in your browser. Only selected evidence is submitted when you run diagnosis.
Try Denpex for 30 days. FREE.
No credit card. No automatic subscription. See whether Denpex helps with an incident you already understand.
Start your free 30-day Team evaluation
Up to 50 diagnoses a day for 30 days. Verify your work email to activate an eligible company evaluation, then replay a resolved incident and compare the evidence and next steps with your team's confirmed cause.
Frequently asked questions
What is the best free GPU monitoring tool on Linux servers?
For interactive debugging on one server, nvidia-smi dmon and nvtop are free and immediate. For multi-node Linux clusters running Kubernetes or Slurm, NVIDIA DCGM Exporter paired with Prometheus and Grafana is the standard free open-source stack. Pair it with Denpex Free (3 cloud diagnoses daily, or the free local VS Code extension) to decode crash logs automatically.
How do I monitor GPU usage continuously from the Linux command line?
Run nvidia-smi dmon -s pucvmet -d 5 for a continuous 5-second stream of power, temperature, SM utilization, memory utilization, ECC errors, and PCIe throughput, or run dcgmi dmon -e 155,203,252,1001,1002 if DCGM is installed.
Why does desktop GPU monitoring software not work for AI training clusters?
Consumer utilities such as GPU-Z or MSI Afterburner target single Windows workstations. Multi-GPU Linux clusters require headless daemon metrics (NVML/DCGM), Slurm or Kubernetes pod attribution, InfiniBand/NVLink link counters, and distributed rank log correlation.
How can I get Slack or PagerDuty alerts when a PyTorch or vLLM job crashes?
Threshold alerts in Prometheus only fire when a gauge crosses a static limit. Wrapping your launch command with the Denpex agent sends job-scoped heartbeats every 120 seconds and delivers an immediate Slack or PagerDuty incident with the earliest traceback, Xid correlation, and verification check when a run hangs or exits.
Can Denpex run inside a private VPC without sending raw logs?
Yes. Client-side PII/PHI masking is enabled by default. Setting DENPEX_PRIVACY=strict ships only anonymized failure signatures, and running with DENPEX_LOCAL=1 keeps raw logs inside your cluster.
How do I audit my GPU monitoring costs vs Datadog?
Count your total monitored hosts, custom GPU metrics per device, and daily GB of training/serving logs ingested. Compare that against Denpex flat monthly cluster tiers (Team, Scale up to 256 GPUs, Growth up to 1,024 GPUs) with zero GPU-hour overages.