Generate output as a subset of resources by entering one or more of the following format options. If you specify more than one format, delimit the items by a comma with no spaces.
primary# ldm list -o resource[,resource...] ldom |
console – Output contains virtual console (vcons) and virtual console concentrator (vcc) service
cpu – Output contains virtual CPU (vcpu) and physical CPU (pcpu)
crypto – Cryptographic unit output contains Modular Arithmetic Unit (mau) and any other LDoms-supported cryptographic unit, such as the Control Word Queue (CWQ)
disk – Output contains virtual disk (vdisk) and virtual disk server (vds)
domain – Output contains variables (var), host ID (hostid), domain state, flags, and software state
memory – Output contains memory
network – Output contains media access control (mac) address , virtual network switch (vsw), and virtual network (vnet) device
physio – Physical input/output contains peripheral component interconnect (pci) and network interface unit (niu)
resmgmt – Output contains dynamic resource management (DRM) policy information.
serial – Output contains virtual logical domain channel (vldc) service, virtual logical domain channel client (vldcc), virtual data plane channel client (vdpcc), virtual data plane channel service (vdpcs)
stats – Output contains statistics that are related to resource management policies.
status – Output contains status about a domain migration in progress.
The following examples show various subsets of output that you can specify:
List CPU information for the control domain
# ldm list -o cpu primary |
List domain information for a guest domain
# ldm list -o domain ldm2 |
List memory and network information for a guest domain
# ldm list -o network,memory ldm1 |
List DRM policy information for a guest domain
# ldm list -o resmgmt,stats ldm1 |
Show a variable and its value for a domain.
primary# ldm list-variable variable-name ldom |
For example, the following command shows the value for the boot-device variable on the ldg1 domain:
primary# ldm list-variable boot-device ldg1 boot-device=/virtual-devices@100/channel-devices@200/disk@0:a |
The ldm list-config command lists the logical domain configurations that are stored on the service processor. When used with the -r option, this command lists those configurations for which autosave files exist on the control domain.
For more information about configurations, see Managing Logical Domains Configurations. For more examples, see the ldm(1M) man page.
primary# ldm list-config factory-default 3guests foo [next poweron] primary reconfig-primary |
The labels to the right of the configuration name mean the following:
[current] – Last booted configuration, only as long as it matches the currently running configuration; that is, until you initiate a reconfiguration. After the reconfiguration, the annotation changes to [next poweron].
[next poweron] – Configuration to be used at the next powercycle.
List the amount of memory available to be allocated.
primary# ldm list-devices mem MEMORY PA SIZE 0x14e000000 2848M |