Skip to content

Conversation

@FernandoOjeda
Copy link
Contributor

@FernandoOjeda FernandoOjeda commented Apr 23, 2019

Feature usage vs information #1113.

slcli virtual usage --help

Options:
  -s, --start_date TEXT   Start Date e.g. 2019-3-4 (yyyy-MM-dd) [required]
  -e, --end_date TEXT     End Date e.g. 2019-4-2 (yyyy-MM-dd) [required]
  -t, --valid_typeTEXT   Metric_Data_Type keyName e.g. CPU0, CPU1, MEMORY_USAGE, etc. [required]
  -p, --summary_period   INTEGER  300, 600, 1800, 3600, 43200 or 86400 seconds
  -h, --help             Show this message and exit.

slcli virtual usage -s 2019-04-04 -e 2019-04-23 -t CPU0 -p 1800 11111

:....................:
:      Average       :
:....................:
: 0.6315241228070173 :
:....................:
:.........:..................:......:
: counter :     dateTime     : type :
:.........:..................:......:
:   0.37  : 2019-04-03 23:00 : cpu0 :
:   0.29  : 2019-04-03 23:30 : cpu0 :
:   0.28  : 2019-04-04 00:00 : cpu0 :
:   0.34  : 2019-04-04 00:30 : cpu0 :
:   0.36  : 2019-04-04 01:00 : cpu0 :
:   0.25  : 2019-04-04 01:30 : cpu0 :
:   0.44  : 2019-04-04 02:00 : cpu0 :
:   0.28  : 2019-04-04 02:30 : cpu0 :
:   0.34  : 2019-04-04 03:00 : cpu0 :
:   0.27  : 2019-04-04 03:30 : cpu0 :
:   0.31  : 2019-04-04 04:00 : cpu0 :
:   9.84  : 2019-04-04 04:30 : cpu0 :
:   0.27  : 2019-04-04 05:00 : cpu0 :
:   0.35  : 2019-04-04 05:30 : cpu0 :

@coveralls
Copy link

coveralls commented Apr 23, 2019

Coverage Status

Coverage increased (+0.01%) to 92.119% when pulling d27a94e on FernandoOjeda:fo_usage_vs into 606ec64 on softlayer:master.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants