1DAXCTL-LIST(1) daxctl Manual 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 .ft C
23 # daxctl list --regions --devices
24
25 {
26 "id":1,
27 "devices":[
28 {
29 "chardev":"dax1.0",
30 "size":3233808384
31 }
32 ]
33 }
34 .ft
35
36
38 -r, --region=
39 A device-dax region is a contiguous range of memory that hosts one
40 or more /dev/daxX.Y devices, where X is the region id and Y is the
41 device instance id. The keyword all can be specified to carry out
42 the operation on every region in the system.
43
44 -d, --dev=
45 Specify a dax device name, <region id>.<instance id> tuple, or
46 keyword all to filter the listing. For example to list the first
47 device instance in region1:
48
49
50 .ft C
51 # daxctl list --dev=1.0
52
53 {
54 "chardev":"dax1.0",
55 "size":3233808384
56 }
57 .ft
58
59
60 -D, --devices
61 Include device-dax instance info in the listing (default)
62
63 -R, --regions
64 Include region info in the listing
65
66 -i, --idle
67 Include idle (not enabled / zero-sized) devices in the listing
68
69 -u, --human
70 By default daxctl list will output machine-friendly raw-integer
71 data. Instead, with this flag, numbers representing storage size
72 will be formatted as human readable strings with units, other
73 fields are converted to hexadecimal strings. Example:
74
75
76 .ft C
77 # daxctl list
78 {
79 "chardev":"dax1.0",
80 "size":32828817408
81 }
82
83 # daxctl list --human
84 {
85 "chardev":"dax1.0",
86 "size":"30.57 GiB (32.83 GB)"
87 }
88 .ft
89
90
92 Copyright (c) 2016 - 2018, Intel Corporation. License GPLv2: GNU GPL
93 version 2 http://gnu.org/licenses/gpl.html. This is free software: you
94 are free to change and redistribute it. There is NO WARRANTY, to the
95 extent permitted by law.
96
97
98
99daxctl 62 11/02/2018 DAXCTL-LIST(1)