Package starcluster :: Module cli :: Class CmdSpotHistory
[hide private]
[frames] | no frames]

Class CmdSpotHistory

source code



spothistory [options] <instance_type>

Show spot instance pricing history stats (last 30 days by default)

Examples:

To show the current, max, and average spot price for m1.small instance type:

    $ starcluster spothistory m1.small

Do the same thing but also plot the spot history over time using matplotlib:

    $ starcluster spothistory -p m1.small

Instance Methods [hide private]
 
addopts(self, parser) source code
 
execute(self, args) source code

Inherited from CmdBase: cancel_command, catch_ctrl_c, warn_experimental

Inherited from optcomplete.CmdComplete: autocomplete

Class Variables [hide private]
  names = ['spothistory']

Inherited from CmdBase: gopts, opts, parser

Properties [hide private]

Inherited from CmdBase: cfg, goptions_dict, options_dict, specified_options_dict