Different CPU in GUI to the CLI
Posted: Mon May 14, 2018 10:18 am
Hi,
Was hoping someone may be able to explain the differences in CPU usage. When looking at the CPU used I get different figures from the CLI compared to the status screen in the GUI. I am running vCPUs and VMEM for the virtual machine that is in Azure.
GUI: CPU usage - 98% Memory Usage: 96% root@vm-uni-eve1:~# mpstat
Linux 4.13.0-1016-azure (vm-uni-eve1) 05/14/2018 _x86_64_ (8 CPU)
10:14:00 AM CPU %usr %nice %sys %iowait %irq %soft %steal %guest %gnice %idle
10:14:00 AM all 1.23 0.00 31.86 2.02 0.00 0.05 0.00 14.56 0.00 50.27
root@vm-uni-eve1:~# free -h
total used free shared buff/cache available
Mem: 31G 29G 276M 28M 1.9G 1.2G
Swap: 0B 0B 0B
When maxed at this the Lab still runs but can be a bit slow in the GUI and CLI. I am trying to size a new VM and not sure whether this is just down to the memory as shows high in GUI and CLI, or is both the CPU and memory as is same in GUI and memory. Can anyone advise why is a difference between the CPU values from GUI and the CLI, should I work off the cli figure or that GUI figure?
Thanks
Was hoping someone may be able to explain the differences in CPU usage. When looking at the CPU used I get different figures from the CLI compared to the status screen in the GUI. I am running vCPUs and VMEM for the virtual machine that is in Azure.
GUI: CPU usage - 98% Memory Usage: 96% root@vm-uni-eve1:~# mpstat
Linux 4.13.0-1016-azure (vm-uni-eve1) 05/14/2018 _x86_64_ (8 CPU)
10:14:00 AM CPU %usr %nice %sys %iowait %irq %soft %steal %guest %gnice %idle
10:14:00 AM all 1.23 0.00 31.86 2.02 0.00 0.05 0.00 14.56 0.00 50.27
root@vm-uni-eve1:~# free -h
total used free shared buff/cache available
Mem: 31G 29G 276M 28M 1.9G 1.2G
Swap: 0B 0B 0B
When maxed at this the Lab still runs but can be a bit slow in the GUI and CLI. I am trying to size a new VM and not sure whether this is just down to the memory as shows high in GUI and CLI, or is both the CPU and memory as is same in GUI and memory. Can anyone advise why is a difference between the CPU values from GUI and the CLI, should I work off the cli figure or that GUI figure?
Thanks