3.2.5 Checking the Usage Status of Resources
3.2.5 Checking the Usage Status of Resources
Use the ldm list-devices command to check the usage status of the resources in a physical partition.
# ldm list-devices [-S] [-a] [cpu] |
- -S option
This option displays the device status. - -a option
This option displays the usage status of all the resources that are bound or not bound. - cpu
CPU threads and physical CPU resources are displayed in a list.
Table 3-16 lists the meanings of the display items of this command.
Display Item | Description | Meaning |
---|---|---|
PID | Integer of 0 or greater | Physical CPU number |
%FREE | Numeric value from 0 to 100 | Percentage not used |
PM | yes | CPU power supply managed |
no | CPU power on | |
--- |
CPU not assigned to logical domain | |
STATUS (*1) | ok | CPU in normal status |
fail | CPU failed | |
*1 STATUS is displayed when the -S option is specified. |
The following example displays the status of eight virtual CPUs.
# ldm list-devices -S -a cpu VCPU PID %FREE PM STATUS 0 0 no ok 1 0 yes ok 2 0 yes ok 3 0 yes ok 4 100 --- ok 5 100 --- ok 6 100 --- ok 7 100 --- ok |
In the following example, the -a option is specified to display all resources bound to the logical domain and all resources that are not bound.
# ldm list-devices -a CORE ID %FREE CPUSET 0 0 (0, 1) 4 0 (8, 9) 8 0 (16, 17) (Omitted) VCPU PID %FREE PM 0 0 no 1 0 no 8 0 no 9 0 no (Omitted) MEMORY PA SIZE BOUND 0x7c0000000000 8G guest2 0x7c0200000000 24G 0x7e0000800000 1G _sys_ 0x7e0040800000 384M _sys_ (Omitted) IO DEVICE PSEUDONYM BOUND OPTIONS pci@8000 PCIE0 yes pci@8100 PCIE1 yes pci@8200 PCIE2 yes pci@8300 PCIE3 yes PCIEDEV pci@8000/pci@4/pci@0/pci@9 /BB0/CMUL/NET0 yes pci@8000/pci@4/pci@0/pci@a /BB0/CMUL/NET2 yes pci@8000/pci@4/pci@0/pci@0 /BB0/CMUL/SASHBA yes pci@8100/pci@4/pci@0/pci@0 /BB0/PCI0 yes (Omitted) |
< Previous Page | Next Page >