# How to read retired pages and ECC counters in nvidia-smi

> Use nvidia-smi -q -d ECC to read error counts. On GPUs that use dynamic page retirement, query PAGE_RETIREMENT for retired pages and pending exclusion. On supported row-remapping GPUs, query ROW_REMAPPER to see recorded remaps and their pending and failure flags.

Start with the GPU model and driver version. Use `nvidia-smi -q -d ECC` for error counts, then choose the repair display appropriate to that device. The [nvidia-smi reference](https://docs.nvidia.com/deploy/nvidia-smi/index.html) lists both `PAGE_RETIREMENT` and `ROW_REMAPPER`. NVIDIA documents [dynamic page retirement](https://docs.nvidia.com/deploy/dynamic-page-retirement/latest/visibility.html) for older GPUs and [row remapping](https://docs.nvidia.com/deploy/a100-gpu-mem-error-mgmt/latest/row-remapping.html) for supported Ampere and newer GPUs.

## Which counters are you looking at?

Use `nvidia-smi -L` to identify the physical GPU. Set `gpu_uuid` in your shell to its UUID, then run the commands below. The [command reference](https://docs.nvidia.com/deploy/nvidia-smi/index.html) recommends UUID or PCI bus ID when you need stable identification, since index order can change between reboots.

```sh
nvidia-smi -i "$gpu_uuid" -q -d ECC
nvidia-smi -i "$gpu_uuid" -q -d PAGE_RETIREMENT
nvidia-smi -i "$gpu_uuid" -q -d ROW_REMAPPER
```

| Display | What it answers | What to check next |
| --- | --- | --- |
| `ECC` | What error counts the GPU reports | Compare like-for-like counters and note any driver reload between snapshots. |
| `PAGE_RETIREMENT` | How many pages were recorded for retirement and whether any await exclusion | Check the pending field and use the legacy recovery procedure for your platform if it is set. |
| `ROW_REMAPPER` | What row-remap entries have been recorded, and whether any are pending or a failure is flagged | Check the pending and failure flags and consult the recovery action where available. |

Keep the error type and memory location with each ECC reading. A correctable DRAM count and an uncorrectable SRAM count measure different events. NVIDIA’s [nvidia-smi reference](https://docs.nvidia.com/deploy/nvidia-smi/index.html) describes which categories each generation exposes. If a field shows `N/A`, treat it as unavailable. In automated collection, keep that state distinct from a measured zero.

## Why can two snapshots disagree?

A volatile ECC counter starts when the driver loads and can be cleared manually. On Linux without persistence, the driver can unload when its last client exits, so the interval can be shorter than host uptime. Aggregate counters persist across driver loads. NVIDIA supports clearing aggregate counts on some older devices, with clearing unavailable on Ampere and later. Save the GPU identity, timestamp and driver version with each snapshot. After a driver reload or manual clear, compare counts within the new measurement interval. [NVIDIA nvidia-smi reference](https://docs.nvidia.com/deploy/nvidia-smi/index.html).

## What does pending mean after a memory error?

On a page-retirement GPU, the retired-page count increments before the page is excluded. If the pending field is set, at least one recorded page is still waiting to be excluded. NVIDIA’s [legacy recovery procedure](https://docs.nvidia.com/deploy/dynamic-page-retirement/latest/blacklisting-and-ecc-error-recovery.html) describes reinitializing the GPU or rebooting and checking the field again. It requires stopping GPU clients before reinitialization.

On a row-remapping GPU, NVIDIA’s [memory statistics guide](https://docs.nvidia.com/deploy/a100-gpu-mem-error-mgmt/latest/user-visible-statistics.html) describes the counts as recorded entries. Recent [nvidia-smi versions](https://docs.nvidia.com/deploy/nvidia-smi/index.html) can also show inactive entries after a bank remap or channel repair. Read the Pending flag to see whether a hardware remap is awaiting activation. A GPU reset activates it. Save the counter snapshot alongside the actual driver messages and use the [Xid 63 and 64 guide](/insights/xid-63-and-64-nvidia-gpu-row-remapping) when those events are in your log. If you need to escalate, include the before-and-after outputs in your [GPU support ticket](/insights/what-to-collect-before-opening-an-nvidia-gpu-support-ticket).

![The NVIDIA Tesla P40 board beside its removed heatsink, with the GPU package visible](/media/nvidia-tesla-p40-gpu-without-heatsink.jpg)

A disassembled NVIDIA Tesla P40, an example of how the GPU and its heatsink fit together. · [Tim Sheerman-Chase · Wikimedia Commons](https://commons.wikimedia.org/wiki/File:Nvidia_P40_with_Heatsink_Removed.jpg) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Resized for web.

![Annotated macro photograph of the Tesla P100 GPU package and high-bandwidth memory stacks](/media/nvidia-tesla-p100-hbm-stack-macro.jpg)

Macro photograph of the Tesla P100 package with its high-bandwidth memory. Memory repair behavior depends on the GPU generation. · [FritzchensFritz · Wikimedia Commons](https://commons.wikimedia.org/wiki/File:Nvidia%4016nm%40Pascal%40GP100%40Tesla_P100%40T_Taiwan_1912A1_PN9G70.S6W_GP100-897-A1_DSCx11_HBM-Stack_notes.jpg) · [CC0 1.0](https://creativecommons.org/publicdomain/zero/1.0/) · Resized for web.

## Sources

- NVIDIA nvidia-smi Command Reference (checked 2026-11-28): https://docs.nvidia.com/deploy/nvidia-smi/index.html
- NVIDIA Dynamic Page Retirement, Visibility (checked 2026-11-28): https://docs.nvidia.com/deploy/dynamic-page-retirement/latest/visibility.html
- NVIDIA Dynamic Page Retirement, ECC Error Recovery (checked 2026-11-28): https://docs.nvidia.com/deploy/dynamic-page-retirement/latest/blacklisting-and-ecc-error-recovery.html
- NVIDIA GPU Memory Error Management, User Visible Statistics (checked 2026-11-28): https://docs.nvidia.com/deploy/a100-gpu-mem-error-mgmt/latest/user-visible-statistics.html
- NVIDIA GPU Memory Error Management, Row Remapping (checked 2026-11-28): https://docs.nvidia.com/deploy/a100-gpu-mem-error-mgmt/latest/row-remapping.html
