[Ironruby-core] Using IronRuby from Ruby (newbie)

Shay Friedman shay.friedman at gmail.com
Mon Dec 28 10:12:42 EST 2009

You can access System.Diagnostics via IronRuby. However, you will have to
use the IronRuby interpreter to run your native ruby code, which is
something I guess you are not willing to do (yet).

Maybe you'd better look for a gem or a Ruby library that simplifies
performance counter access...


Shay Friedman
Author of IronRuby Unleashed
Follow me: http://twitter.com/ironshay

On Mon, Dec 28, 2009 at 4:58 PM, Ameer Deen <lists at ruby-forum.com> wrote:

> Hello,
> I'm working in an environment that's very Ruby heavy and I've never used
> ruby before. I need to be able to access Windows performance counters in
> from a Windows service is written in native Ruby (not IronRuby). I'm
> traditionally a C# and JAVA programmer.
> I was wondering if it might be possible for Ruby to be able to access
> the .Net System.Diagnostics performance counters via IronRuby. Of
> course, if there's a much simpler way I'm all ears.
> I tried searching the forum and it seems my searching skills are not up
> to par and apologize if this has been already answered. Thanks in
> advance for any help.
> Ameer.
> --
> Posted via http://www.ruby-forum.com/.
> _______________________________________________
> Ironruby-core mailing list
> Ironruby-core at rubyforge.org
> http://rubyforge.org/mailman/listinfo/ironruby-core
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://rubyforge.org/pipermail/ironruby-core/attachments/20091228/aca8b2f4/attachment.html>

More information about the Ironruby-core mailing list