- From: Pat Collins <
>
- To: Graham McMillan <
>
- Cc: Chef Dev <
>
- Subject: [chef-dev] Re: ohai: ever needed to get memory info on mac os x?
- Date: Sat, 23 Mar 2013 09:17:56 -0400
Yeah I feel like I tried that route but ended up getting unreliable numbers (figures that didn't match what was coming from Activity Monitor.)
You're right that top is slow. I'll try it with your suggestion and see if I'm remembering correctly.
Pat On Mar 22, 2013, at 4:20 PM, Graham McMillan <
">
> wrote: 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:
|
Archive powered by MHonArc 2.6.16.