# Memory utilization via sysconf()

**URL:** <https://www.ruby-forum.com/t/memory-utilization-via-sysconf/133874>\
**Category:** Ruby\
**Created:** [April 4, 2008, 3:47pm UTC](https://www.ruby-forum.com/t/memory-utilization-via-sysconf/133874 "2008-04-04T15:47:18Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![divotdave](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/bbe5ce/32.png) [@divotdave](https://www.ruby-forum.com/u/divotdave)\
**Post date:** [April 4, 2008, 3:47pm UTC](https://www.ruby-forum.com/t/memory-utilization-via-sysconf/133874/1 "2008-04-04T15:47:18Z")

</div>

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.

Cheers,

–david
