VCPU: CPU Affinity
----------------------------------
0: 2-7
1: 2-7
# Display the bindings between vCPUs and physical CPUs for VM centos7.
<Sysname> display vmcpupin vm centos7
VCPU: CPU Affinity
----------------------------------
0: 2-7
Table 4 Command output
Field
VCPU
CPU Affinty
display vmcpu-usage vm
Use
display vmcpu-usage vm
Syntax
display vmcpu-usage vm vm-name
Views
Any view
Predefined user roles
network-admin
Parameters
: Specifies a VM by its name. The
vm-name
characters.
Usage guidelines
Use this command only for a running VM.
Examples
# Display CPU usage information about VM centos7.
<Sysname> display vmcpu-usage vm centos7
CpuNum
---------------------------------------
0
Table 5 Command output
Field
CpuNum
Cpu-Usage
Description
vCPU core number.
Physical CPU core number.
to display CPU usage information about a VM.
Cpu-Usage
27%
Description
CPU number.
CPU usage.
argument is a case-sensitive string of 1 to 30
vm-name
14