Memory utilization via sysconf()

Greetings all Rubyings,

Is there a direct way for a ruby app. to
check its memory utilization?

I have searched a while using various keywords
but have been unable to find any references.

I’m hoping to find core support analogous
to Python’s “os.sysconf(‘SC_AVPHYS_PAGES’)”.

If such a thing is not available, I’ll be
happy to write it, especially if we can get it
into the core spec.



This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs