NAME
nvme-wdc-smart-add-log − Send NVMe WDC smart−add−log Vendor Unique Command, return result
SYNOPSIS
nvme wdc smart−add−log <device> [−−interval=<NUM>, −i <NUM>] [−−output−format=<normal|json> −o <normal|json>]
DESCRIPTION
For the NVMe device given, send a Vendor Unique WDC smart−add−log command and provide the additional smart log. The −−interval option will return performance statistics from the specified reporting interval.
The <device> parameter is mandatory and may be either the NVMe character device (ex: /dev/nvme0).
This will only work on WDC devices supporting this feature. Results for any other device are undefined.
On success it returns 0, error code otherwise.
OPTIONS
−i <NUM>, −−interval=<NUM>
Return the statistics from specific interval, defaults to 14
−o <format>, −−output−format=<format>
Set the reporting format to normal, or json. Only one output format can be used at a time. Default is normal.
Valid Interval values and description :−
CA LOG PAGE DATA OUTPUT EXPLANATION
C1 LOG PAGE DATA OUTPUT EXPLANATION
EXAMPLES
• Has the program issue WDC smart−add−log Vendor Unique Command with default interval (14) :
# nvme wdc smart−add−log /dev/nvme0
NVME
Part of the nvme−user suite.