]> www.infradead.org Git - users/hch/nvme-cli.git/commitdiff
Add Dera plugin extension.
authorwudequan <wudequan@derastorage.com>
Mon, 18 Nov 2019 02:44:12 +0000 (10:44 +0800)
committerKeith Busch <kbusch@kernel.org>
Sun, 24 Nov 2019 16:37:51 +0000 (09:37 -0700)
Add stat sub-command to retrieve Dera device status and additional SMART log.

Documentation/nvme-dera-stat.txt [new file with mode: 0644]

diff --git a/Documentation/nvme-dera-stat.txt b/Documentation/nvme-dera-stat.txt
new file mode 100644 (file)
index 0000000..ebc8b5a
--- /dev/null
@@ -0,0 +1,38 @@
+nvme-dera-stat(1)
+===========================
+
+NAME
+----
+nvme-dera-stat - Send NVMe Dera Device status and Additional SMART log page request, returns result and log
+
+SYNOPSIS
+--------
+[verse]
+'nvme dera stat' <device> 
+
+DESCRIPTION
+-----------
+Retrieves the NVMe Dera Device status and Additional SMART log page from the device and
+provides the returned structure.
+
+The <device> parameter is mandatory and may be either the NVMe character
+device (ex: /dev/nvme0), or a namespace block device (ex: /dev/nvme0n1).
+
+On success, the returned status and smart log structure are printed in a readable format.
+
+OPTIONS
+-------
+none
+
+
+EXAMPLES
+--------
+* Print the Dera Device status and Additional SMART log page in a human readable format:
++
+------------
+# nvme dera stat /dev/nvme0
+------------
+
+NVME
+----
+Part of the nvme-user suite