Skip to main content

3.2.7 Checking the Resource Usage Status of Each CPU Socket


3.2.7 Checking the Resource Usage Status of Each CPU Socket
Use the ldm list-socket command to check the resource usage status of each CPU socket in a physical partition. This subcommand is supported by Oracle VM Server for SPARC 3.2 and later.
# ldm list-socket [-l] [-p] [--free] [-o format] [socket_id=id[,id[,...]]] [ldom...]
  1. -l

    This option displays a physical CPU set and core IDs.
  2. -p

    This option outputs results in a parseable format.
  3. --free

    This option displays only free resources.
  4. -o

    This option limits the output results to one or more subsets. For details on subsets, see the Oracle VM Server for SPARC Reference Manual of the version used.
  5. socket_id
    Specify one or more CPU sockets whose information you want to list.
  6. ldom
    Specify one or more logical domains whose information you want to list.
The following example lists the usage statuses of all the resources of each CPU socket.
# ldm list-socket
CONSTRAINTS
SOCKET
TENANT‍ VCPUS‍ CORES‍ SOCKET_ID‍ GROUP
primary‍ 32‍ 16‍ ‍ 0‍ /BB0
primary ‍ ‍‍ 32 16 1‍ /BB0
primary ‍‍32‍ 16 2‍ /BB0
primary ‍ ‍‍ 32‍ 16 3‍ /BB0
primary‍ 32‍ 16 4‍ /BB1
primary‍ 32 16 5‍ /BB1
primary‍ 32‍ 16 6‍ /BB1
primary‍ 32‍ 16 7‍ /BB1
MEMORY
PA SIZE SOCKET_ID‍ BOUND
0x700000000000 64G‍ 7 primary
0x720000000000 64G‍ 6 primary
0x740000000000 64G‍ 5 primary
0x760050000000 31488M‍ 4‍ primary
0x780000000000 64G‍ 3 ‍‍primary
0x7a0000000000 64G‍ 2 primary
0x7c0000000000 64G‍ 1 primary
0x7e0080000000 62G‍ 0 primary
IO
NAME TYPE BUS SOCKET_ID‍ BOUND
PCIE0 BUS PCIE0 0 primary
PCIE1 BUS PCIE1 0 primary
PCIE2 BUS PCIE2 1 ‍‍primary
PCIE3 BUS PCIE3 1 ‍‍primary
PCIE4 BUS PCIE4 2 ‍‍primary
PCIE5 BUS PCIE5 2 primary
PCIE6 BUS PCIE6 3 ‍‍ primary
PCIE7 BUS PCIE7 3 ‍‍ primary
PCIE8 BUS PCIE8 4 primary
PCIE9 BUS PCIE9 4‍ ‍‍ primary
PCIE10 BUS PCIE10 5‍ ‍‍ primary
PCIE11 BUS PCIE11 5 primary
PCIE12 BUS PCIE12 6 ‍‍primary
PCIE13 BUS PCIE13 6 primary
PCIE14 BUS PCIE14 7 primary
PCIE15 BUS PCIE15 7 ‍‍ primary