README.md in lxc-ruby-0.2.2 vs README.md in lxc-ruby-0.2.3

- old
+ new

@@ -83,25 +83,33 @@ # Free and unfreeze (also returns current status) c.freeze c.unfreeze +# Destroy container +c.destroy # => true +``` + +Container metrics: + +```ruby # Get container memory usage (in bytes) c.memory_usage c.memory_limit +# Get container cpu shares and usage (in seconds) +c.cpu_shares # => 1024 +c.cpu_usage # => 4312.08 + # Get running processes c.processes # => #[{"pid"=>"27404", # "user"=>"root", # "cpu"=>"0.0", # "memory"=>"0.1", # "command"=>"/sbin/init", # "args"=>""}] - -# Destroy container -c.destroy # => true ``` To create a new container: ``` ruby \ No newline at end of file