Skip to main content

5.6.4 Displaying the Usage of Activated CPU Core Resources


5.6.4 Displaying the Usage of Activated CPU Core Resources
The displayed CPU core resource usage includes the following items:
  1. CPU core resources in use
  2. Number of mounted CPU cores
  3. Number of CPU Activations set for a physical partition
  4. Any CPU Activation violations
To display the CPU core resource usage, use the showcodusage command on the XSCF shell.
You need to have the platadm, platop, or fieldeng privilege to execute this command. Alternatively, you can use a user account that has the pparadm, pparmgr, or pparop privilege for the target physical partition.
XSCF> showcodusage [-v] [-M] [-p {resource|ppar|all}]
To display one screen at a time, specify the -M option.
To display the CPU core resource usage in all physical partitions, specify -p all.
To display the CPU core resource usage in each physical partition, specify -p ppar.
To display the CPU core resource usage for each CPU core resource, specify -p resource.
Operation Procedure
  1. Log in to the XSCF with a user account that has the appropriate user privilege.
    For details, see "2.2 Logging In to the XSCF Shell."
  2. Execute the showcodusage command to display CPU Activation information.
    The following example displays CPU Activation information.
    The example shows that the system has 16 installed CPU core resources and 4 registered CPU Activations, and that 4 of the CPU core resources are in use and the number of currently unused CPU Activations is 0.
XSCF> showcodusage -p resource
Resource In Use Installed CoD Permitted Status
-------- ------ --------- ------------- ------

PROC 4 16 4 OK: 0 cores available

Note:
Please confirm the value of the "In Use" by the ldm command of Oracle VM Server for SPARC.

The XSCF may take up to 20 minutes to reflect the "In Use" of logical domains.
Note - The value of "In Use" that is displayed by the showcodusage command may not be the latest, depending on the timing of the XSCF update. It may take up to 20 minutes for the value of "In Use" to be updated to the latest one. If the value of "In Use" is different from what you expected, execute the showcodusage command again to check the value.
  1. Execute the exit command to log out from the XSCF shell.
    If you do not have any further work with the XSCF shell, log out from the XSCF.