Ask Your Question
0

how to get the cpu usage of last 24 hours

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

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
1

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

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

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

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

Seen: 401 times

Last updated: Aug 17 '16