is it possible to, say, output the current consumption of CPU and memory in ruby script?
i am trying to find memory leaks in my jruby script.
CPU usage keeps going up to 100% until it crashes.
the OS gem has an rss_bytes method, but that might not help with jruby.