daxctl-list(1)

NAME

daxctl−list − dump the platform Device−DAX regions, devices, and attributes in json.

SYNOPSIS

daxctl list [<options>]
Walk all the device−dax−regions in the system and list all device instances along with some of their major attributes.
Options can be specified to limit the output to objects of a certain class. Where the classes are regions or devices. By default, daxctl list with no options is equivalent to:
daxctl list −−devices

EXAMPLE

1
# daxctl list --regions --devices
2
3
{
4
"id":1,
5
"devices":[
6
{
7
"chardev":"dax1.0",
8
"size":3233808384
9
}
10
]
11
}
Copied!

OPTIONS

−r, −−region=
A device−dax region is a contiguous range of memory that hosts one or more /dev/daxX.Y devices, where X is the region id and Y is the device instance id. The keyword all can be specified to carry out the operation on every region in the system.
−d, −−dev=
Specify a dax device name, . tuple, or keyword all to filter the listing. For example to list the first device instance in region1:
1
# daxctl list --dev=1.0
2
3
{
4
"chardev":"dax1.0",
5
"size":3233808384
6
}
Copied!
−D, −−devices
Include device−dax instance info in the listing (default)
−R, −−regions
Include region info in the listing
−i, −−idle
Include idle (not enabled / zero−sized) devices in the listing
−u, −−human
By default daxctl list will output machine−friendly raw−integer data. Instead, with this flag, numbers representing storage size will be formatted as human readable strings with units, other fields are converted to hexadecimal strings. Example:
1
# daxctl list
2
{
3
"chardev":"dax1.0",
4
"size":32828817408
5
}
6
7
# daxctl list --human
8
{
9
"chardev":"dax1.0",
10
"size":"30.57 GiB (32.83 GB)"
11
}
Copied!

COPYRIGHT

Copyright (c) 2016 − 2019, Intel Corporation. License GPLv2: GNU GPL version 2 http://gnu.org/licenses/gpl.html. This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law.
Last modified 1yr ago