1NVME-ID-NS(1) NVMe Manual NVME-ID-NS(1)
2
3
4
6 nvme-show-regs - Reads and shows the defined NVMe controller registers
7 for NVMe over PCIe or the controller properties for NVMe over Fabrics.
8
10 nvme show-regs <device> [--human-readable | -H]
11
13 For the NVMe over PCIe device given, sends an identify namespace
14 command and provides the result and returned structure. For the NVMe
15 over Fabrics device given, sends a fabric command and provides the
16 result and returned structure.
17
18 The <device> parameter is mandatory and must be the nvme admin
19 character device (ex: /dev/nvme0). For NVMe over PCIe, the program uses
20 knowledge of the sysfs layout to map the device to the pci resource
21 stored there and mmaps the memory to get access to the registers. For
22 NVMe over Fabrics, the programs sends a fabric command to get the
23 properties of the target NVMe controller. Only the supported properties
24 are displayed.
25
27 -H, --human-readable
28 Display registers or supported properties in human readable format.
29
31 · Show the NVMe over PCIe controller registers or the NVMe over
32 Fabric controller properties in a binary format:
33
34 # nvme show-regs /dev/nvme0
35
36 · Show the NVMe over PCIe controller registers or the NVMe over
37 Fabric controller properties in a human readable format:
38
39 # nvme show-regs /dev/nvme0 -H
40
42 Part of the nvme-user suite
43
44
45
46NVMe 06/05/2018 NVME-ID-NS(1)