commands

smartctl — Inspect drive health

Query overall health status on an authorized supported device. Status and attributes are device-specific; exit status is a bitmask. No real device is required for help. Use a fresh private workspace; live operations are VM-only.

Formal Syntax & Structure

linux syntaxlinux
smartctl -H DEVICE

Parameters & Attributes

NameTypeDescription
-HoptionHealth summary
DEVICEoperandVerified authorized drive

Return Value

exit status and output

Query overall health status on an authorized supported device. Status and attributes are device-specific; exit status is a bitmask. No real device is required for help.

Working Example

Example Snippetlinux
smartctl --help
Linux Reference