summaryrefslogtreecommitdiffstats
path: root/Documentation/nvme-ocp-set-dssd-power-state-feature.txt
blob: c9ae57833311bb2b1dd581d3700513e7b527631f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
set-dssd-power-state-feature(1)
===============================

NAME
----
nvme-ocp-set-dssd-power-state-feature - Set DSSD Power State

SYNOPSIS
--------
[verse]
'nvme ocp set-dssd-power-state-feature' <device>
			[--power-state=<fmt> | -p <fmt>] [--no-uuid | -n]
			[--save | -s]

DESCRIPTION
-----------
For the NVMe device given, retrieves OCP DSSD Power state 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
-------
-p <fmt>::
--power-state=<fmt>::
	DSSD Power State to set in watts.

EXAMPLES
--------
* Has the program issue a set-dssd-power-state-feature command to set DSSD Power State to set in watts.
+
------------
# nvme ocp set-dssd-power-state-feature /dev/nvme0 -p <value> -s <value> -n <value>
------------

NVME
----
Part of the nvme-user suite.