[chef-dev] Re: ohai: ever needed to get memory info on mac os x?


Chronological Thread 
  • From: Graham McMillan < >
  • To: Pat Collins < >
  • Cc: Chef Dev < >
  • Subject: [chef-dev] Re: ohai: ever needed to get memory info on mac os x?
  • Date: Fri, 22 Mar 2013 16:20:38 -0400

Although that works, I'd try to implement it using vm_stat instead. Top produces a lot of unnecessary output and it's a bit slow.

Looks like someone was able to grab some of the info you need from vm_stat:

http://vigodome.com/blog/2012/01/27/show-free-memory-on-osx/


On Fri, Mar 22, 2013 at 4:05 PM, Pat Collins < " target="_blank"> > wrote:
Now you can!

I submitted this ticket a while back, with a fix provided, and I'm eager to get it merged into Ohai:


Can anyone see anything glaring that would prevent it from getting merged in?

Cheers,
Pat

--
Patrick Collins




Archive powered by MHonArc 2.6.16.

§