1NVME-PRIMARY-CTRL() NVME-PRIMARY-CTRL()
2
3
4
6 nvme-primary-ctrl-caps - Send identify Primary Controller Caps, return
7 result and structure
8
10 nvme primary-ctrl-caps <device> [-o <format> | --output-format=<format>]
11
13 For the NVMe device given, sends an identify primary Controller caps
14 command and provides the result and returned structure.
15
16 The <device> parameter is mandatory and may be either the NVMe
17 character device (ex: /dev/nvme0), or a namespace block device (ex:
18 /dev/nvme0n1).
19
20 On success, the structure may be returned in one of several ways
21 depending on the option flags; the structure may be parsed by the
22 program or the raw buffer may be printed to stdout.
23
25 -o <format>, --output-format=<format>
26 Set the reporting format to normal, json, or binary. Only one
27 output format can be used at a time.
28
29 -H, --human-readable
30 This option will parse and format many of the bit fields into
31 human-readable formats.
32
34 • Get Primary Ctrl Caps of the device in default format
35
36 # nvme primary-ctrl-caps /dev/nvme0
37
38 • Has the program interpret the returned buffer and display the known
39 fields in a human readable format:
40
41 # nvme primary-ctrl-caps /dev/nvme0 --human-readable
42 # nvme primary-ctrl-caps /dev/nvme0 -H
43
45 Part of the nvme-user suite
46
47
48
49 NVME-PRIMARY-CTRL()