Calculate cpu utilization of a complete host ?

asked 2015-12-30 23:36:35 -0500

abhishek-talwar gravatar image

updated 2015-12-30 23:37:04 -0500

Hi Folks,

I currently working on OpenStack kilo and was looking for a way that can help us to calculate "the CPU utilization of a host and not a VM".

ceilometer sample-list helps us to calculate the cpu_util for a VM but not for a host. So if there any command or way that can be used for this purpose.

edit retag flag offensive close merge delete

3 answers

Sort by ยป oldest newest most voted

answered 2016-01-02 22:12:58 -0500

Bipin gravatar image


nova host-describe <hypervisor-name> It will give you the CPU utilisation from compute nodes. If you want the load and other statistics of compute nodes, install atop in the compute nodes, you will get each and every tiny details.


edit flag offensive delete link more

answered 2016-01-04 20:11:29 -0500

Shaoman Zhang gravatar image

Nova can report host cpu utilization to ceilometer, modify nova.conf like this: compute_monitors=ComputeDriverCPUMonitor notification_driver=messagingv2

Then you can get host cpu utilization by ceilometer, the meter name is compute.node.cpu.percent.

edit flag offensive delete link more

answered 2016-01-11 15:24:46 -0500

Sandeep gravatar image

you need to work on correct compute monitor only and specify in /etc/nova/nova.conf and restart nova and ceilometer service and check collector logs.

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2015-12-30 23:36:35 -0500

Seen: 2,079 times

Last updated: Jan 11 '16