how to get the cpu usage of last 24 hours

asked 2016-08-16 23:25:56 -0600

mohsin gravatar image

I want to extract the last 24 hours cpu usage of a vm through ceilometer then i want to plot this data in graph is there any command which retrieve the data of previous 24 hours usage of any VM i have installed the kilo version of devstack

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2016-08-17 05:31:35 -0600

yprokule gravatar image

@mohsin - U can try sample-list:

ceilometer sample-list -m cpu_util -q 'resource_id=9a844532-1701-40b5-bf6f-4fe24989c117;timestamp>=2016-08-17T10:11:00;timestamp<2016-08-17T10:20:00'

Where 9a844532-1701-40b5-bf6f-4fe24989c117 is instance id.

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2016-08-16 23:25:56 -0600

Seen: 680 times

Last updated: Aug 17 '16