summaryrefslogtreecommitdiffstats
path: root/Documentation/nvme-ocp-set-telemetry-profile.txt
diff options
context:
space:
mode:
Diffstat (limited to 'Documentation/nvme-ocp-set-telemetry-profile.txt')
-rw-r--r--Documentation/nvme-ocp-set-telemetry-profile.txt43
1 files changed, 43 insertions, 0 deletions
diff --git a/Documentation/nvme-ocp-set-telemetry-profile.txt b/Documentation/nvme-ocp-set-telemetry-profile.txt
new file mode 100644
index 0000000..bc244cf
--- /dev/null
+++ b/Documentation/nvme-ocp-set-telemetry-profile.txt
@@ -0,0 +1,43 @@
+nvme-ocp-set-telemetry-profile(1)
+=================================
+
+NAME
+----
+nvme-ocp-set-telemetry-profile - Set Telemetry Profile
+
+SYNOPSIS
+--------
+[verse]
+'nvme ocp set-telemetry-profile' <device>
+ [--telemetry-profile-select=<tps> | -t <tps>]
+
+DESCRIPTION
+-----------
+For the NVMe device given, sets the OCP Set Telemetry Profile Feature
+
+The <device> parameter is mandatory and may be either the NVMe character
+device (ex: /dev/nvme0) or block device (ex: /dev/nvme0n1).
+
+This will only work on OCP compliant devices supporting this feature.
+Results for any other device are undefined.
+
+On success it returns 0, error code otherwise.
+
+OPTIONS
+-------
+-t <tps>::
+--tps=<tps>::
+ Telemetry Profile Select. The device shall collect debug data per the
+ specified profile number.
+
+EXAMPLES
+--------
+* Has the program issue a set-telemetry-profile command to use profile five.
++
+------------
+# nvme ocp set-telemetry-profile /dev/nvme0 -t 5
+------------
+
+NVME
+----
+Part of the nvme-user suite.