show resources cpu-info allocation
To get information on the number of CPUs allocated to VMs and the CPUs that are already used by the VMs, use the show resources cpu-info allocation command in privileged EXEC mode.
show resources cpu-info allocation [ total-sockets | cores-per-socket | logical-cpus-used-by-system | logical-cpus-used-by-vnfs | logical-cpus-used-dedicated | logical-cpus-used-sharable | total-logical-cpus]
Syntax Description
total-sockets |
(Optional) Total sockets allocated. |
cores-per-socket |
(Optional) Number of cores per socket. |
logical-cpus-used-by-system |
(Optional) Number of CPUs used by the system. |
logical-cpus-used-dedicated |
(Optional) Number of dedicated CPUs. |
total-logical-cpus |
(Optional) Total number of CPUs. |
logical-cpus-used-by-vnfs |
(Optional) Number of CPUs used by VNFs. |
Command Default
Complete information about CPU allocation to VMs.
Command Modes
Privileged EXEC (#)
Command History
Release | Modification |
---|---|
3.5.1 |
This command was introduced. |
Examples
The following is the sample output from the show resources cpu-info allocation command:
nfvis# show resources cpu-info allocation
resources cpu-info allocation total-sockets 1
resources cpu-info allocation cores-per-socket 8
resources cpu-info allocation total-logical-cpus 16
resources cpu-info allocation logical-cpus-used-by-system 2
resources cpu-info allocation logical-cpus-used-by-vnfs 14
resources cpu-info allocation logical-cpus-used-dedicated 12
resources cpu-info allocation logical-cpus-used-sharable 2