Sha256: 7c1fcdfc9743d1427f2dc9c16afea94429d25c707ef1d6797c8bdd1114501e38
Contents?: true
Size: 1.15 KB
Versions: 2
Compression:
Stored size: 1.15 KB
Contents
# Vmstator Vmstator is a Ruby API for [vmstat](https://en.wikipedia.org/wiki/Vmstat). It provides an [OO](https://www.tutorialspoint.com/ruby/ruby_object_oriented.htm) interface to be able to parse the contents of the output of vmstat and access that infromation intuitively. #### Note This gem is still in development, but has more or less working code! :) ![screenshot](http://i.imgur.com/spjIhpy.png "Screen Shot") ![screenshot2](http://i.imgur.com/D9TNIpY.png "Screen Shot2") ## Installation ### Gemfile Add this line to your application's Gemfile: ```ruby gem 'vmstator' ``` And then execute: $ bundle ### Gem Install Or install it yourself as: $ gem install vmstator ## Usage Still working on this bit, but, for the mean time... ### Typical Use ```ruby require 'vmstator' vmstats = Vmstator::Stats.new vmstats.flags = "-S M" vmstats.parse puts vmstats.data puts vmstats.buffer puts vmstats.cache puts vmstats.forks puts vmstats.active puts vmstats.disk_info puts vmstats.event_counter_statistics puts vmstats.slab_info ``` ## License The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
vmstator-2.0.1 | README.md |
vmstator-2.0.0 | README.md |