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