Check NVMe Health With nvme smart-log

Read temperature, wear and error counters from an NVMe drive.

LinuxhardwarediskDiagnosticsMedium risk
Run sudo nvme smart-log /dev/nvme0 to print the drive's SMART health data.

01Command

Command
$ sudo nvme smart-log /dev/nvme0

02What it does

nvme-cli talks directly to the NVMe device and reports percentage-used, available spare, temperature and error counters, which let you predict wear before a drive fails. There is no GUI for headless servers, so this check belongs in monitoring scripts.

03Risk

RiskMedium risk
Requirementssudo apt install nvme-cli
!Warning: The command needs root to open the device and only applies to NVMe devices, not SATA SSDs.

04Undo

✓No undo needed — this command does not change persistent state.

05Sources

Last verified: 2026-10-13 · Category: System & Settings

06Related solutions