Logical Domains 1.3 Administration Guide

Viewing Various Lists

ProcedureShow Software Versions (-V)

  1. View the current software versions installed.

    primary# ldm -V

ProcedureGenerate a Short List

  1. Generate a short list for all domains.

    primary# ldm list

ProcedureGenerate a Long List (-l)

  1. Generate a long list for all domains.

    primary# ldm list -l

ProcedureGenerate an Extended List (-e)

  1. Generate an extended list of all domains.

    primary# ldm list -e

ProcedureGenerate a Parseable, Machine-Readable List (-p)

  1. Generate a parseable, machine-readable list of all domains.

    primary# ldm list -p

ProcedureGenerate a Subset of a Long List (-o format)

  1. 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

ProcedureList a Variable

  1. 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

ProcedureList Bindings

  1. List the resources that are bound to a domain.

    primary# ldm list-bindings ldom

ProcedureList Configurations

  1. List logical domain configurations that have been stored on the SP.

Example 9–2 Configurations List

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
foo [next poweron]

Meaning of Labels

The labels to the right of the configuration name mean the following:

ProcedureList Devices

  1. List all server resources, bound and unbound.

    primary# ldm list-devices -a

ProcedureList Available Memory

  1. List the amount of memory available to be allocated.

    primary# ldm list-devices mem
        PA                   SIZE
        0x14e000000          2848M

ProcedureList Services

  1. List the services that are available.

    primary# ldm list-services