<?xml version="1.0" encoding="UTF-8"?>
<project>
  <bugtracker-url>http://amazing.lighthouseapp.com/projects/11473-statgrab-for-ruby/tickets</bugtracker-url>
  <created-at type="datetime">2008-05-19T10:50:07Z</created-at>
  <description>Statgrab for Ruby
=================

Ruby bindings to the libstatgrab portable system statistics library.

Building and installing
-----------------------

First, make sure libstatgrab is installed on your system.

Follow these procedures to build and install manually:

    ruby extconf.rb
    make
    su
    make install

Optionally, you may build a Rubygem:

    gem build statgrab.gemspec
    su
    gem install statgrab-0.1.gem

API Documentation
-----------------

See &lt;http://statgrab.rubyforge.org/doc/&gt;.

Sample program
--------------

    require 'statgrab'
    begin
      sg = Statgrab.new
      puts "CPU Usage: %.1f%%" % sg.cpu_percents[:user]
    rescue Statgrab::Exception =&gt; e
      puts "Error! %s" % e.message
    end

Licensing
---------

Copyright 2008 Dag Odenhall &lt;dag.odenhall@gmail.com&gt;

Licensed under the Apache License, Version 2.0 (the "License").
You may obtain a copy of the License at

   &lt;http://www.apache.org/licenses/LICENSE-2.0&gt;

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
</description>
  <home-url>http://statgrab.rubyforge.org</home-url>
  <license>Apache Software License</license>
  <mailinglist-url nil="true"></mailinglist-url>
  <slug>ruby-statgrab</slug>
  <title>ruby-statgrab</title>
  <wiki-enabled type="boolean">true</wiki-enabled>
  <owner kind="User">dag</owner>
  <repositories type="array">
    <mainlines type="array">
      <repository>
        <id>822</id>
        <name>mainline</name>
        <owner kind="User">dag</owner>
        <clone_url>git://gitorious.org/ruby-statgrab/mainline.git</clone_url>
      </repository>
    </mainlines>
    <clones type="array">
    </clones>
  </repositories>
</project>
