1DAXCTL-LIST(1) DAXCTL-LIST(1)
2
3
4
6 daxctl-list - dump the platform Device-DAX regions, devices, and
7 attributes in json.
8
10 daxctl list [<options>]
11
12 Walk all the device-dax-regions in the system and list all device
13 instances along with some of their major attributes.
14
15 Options can be specified to limit the output to objects of a certain
16 class. Where the classes are regions or devices. By default, daxctl
17 list with no options is equivalent to:
18
19 daxctl list --devices
20
22 # daxctl list --regions --devices
23
24 {
25 "id":1,
26 "devices":[
27 {
28 "chardev":"dax1.0",
29 "size":3233808384
30 }
31 ]
32 }
33
35 -r, --region=
36 A device-dax region is a contiguous range of memory that hosts one
37 or more /dev/daxX.Y devices, where X is the region id and Y is the
38 device instance id. The keyword all can be specified to carry out
39 the operation on every region in the system.
40
41 -d, --dev=
42 Specify a dax device name, <region id>.<instance id> tuple, or
43 keyword all to filter the listing. For example to list the first
44 device instance in region1:
45
46 # daxctl list --dev=1.0
47
48 {
49 "chardev":"dax1.0",
50 "size":3233808384
51 }
52
53 -D, --devices
54 Include device-dax instance info in the listing (default)
55
56 -M, --mappings
57 Include device-dax instance mappings info in the listing
58
59 -R, --regions
60 Include region info in the listing
61
62 -i, --idle
63 Include idle (not enabled / zero-sized) devices in the listing
64
65 -u, --human
66 By default daxctl list will output machine-friendly raw-integer
67 data. Instead, with this flag, numbers representing storage size
68 will be formatted as human readable strings with units, other
69 fields are converted to hexadecimal strings. Example:
70
71 # daxctl list
72 {
73 "chardev":"dax1.0",
74 "size":32828817408
75 }
76
77 # daxctl list --human
78 {
79 "chardev":"dax1.0",
80 "size":"30.57 GiB (32.83 GB)"
81 }
82
84 Copyright © 2016 - 2022, Intel Corporation. License GPLv2: GNU GPL
85 version 2 http://gnu.org/licenses/gpl.html. This is free software: you
86 are free to change and redistribute it. There is NO WARRANTY, to the
87 extent permitted by law.
88
89
90
91 03/08/2022 DAXCTL-LIST(1)