1NVME-GET-PROPERTY(1) NVMe Manual NVME-GET-PROPERTY(1)
2
3
4
6 nvme-get-property - Reads and shows the defined NVMe controller
7 property for NVMe over Fabric
8
10 nvme get-property <device> [--offset=<offset> | -o <offset>]
11 [--human-readable | -H ]
12
14 Reads and shows the defined NVMe controller property for NVMe over
15 Fabric.
16
18 -o, --offset
19 The offset of the property. One of CAP=0x0, VS=0x8, CC=0x14,
20 CSTS=0x1c, NSSR=0x20
21
22 -H
23 --human-readable: Show the fields packed in the property
24
26 • The following will run the get-property command with offset 0
27
28 # nvme get-property /dev/nvme0 --offset=0x0 --human-readable
29
31 Currently the CAP value is truncated to 32 bits due to a limitation in
32 the ioctl interface.
33
34 In a recent enough kernel, the 64 bit value is shown in kernel traces.
35
36 • First enable traces by this command
37
38 # echo 1 > /sys/kernel/debug/tracing/events/nvme/enable
39
40 • Then look for NVMe Fabrics command (0x7f) at trace
41
42 /sys/kernel/debug/tracing/trace
43
45 Part of the nvme-user suite
46
47
48
49NVMe 10/06/2023 NVME-GET-PROPERTY(1)