futuregrid / cloud-metrics

Project to create usage statistics from IaaS such as OpenStack, Eucalyptus, and Nimbus
2 stars 3 forks source link

Creation of user specific statitics from the shell and portal #19

Closed lee212 closed 11 years ago

lee212 commented 12 years ago

A user based statistics needed.

lee212 commented 12 years ago

I propose user statistics in this way.

(cmd) user_stats -u username
period: 01/01/2011 ~ 01/01/2012
instances:
total instances launched: 14
total seconds used: 3600
average ccvms (cores/mems/disks): 2, 512, 5
min/max ccvms: 1/2, 512/6000, 5/15
lee212 commented 11 years ago

User statistics added in a line chart. Here is an example for getting particular user's statistics:

1) Specify userid and metric analyze_user -u hrlee -m runtime

For more detail, see the example3.txt in the example folder.

Commit made for this task is : da4c9f32bd6b50e0b3859aaa430941681e041b7a