Issue #6327 has been updated by Ben Hughes.
Darwin doesn't have swapctl. But it does have:
<pre>
[ben@Paresthesia:util]% sysctl hw. | grep mem
G ✭/master
hw.memsize: 8589934592
hw.physmem = 2147483648
hw.usermem = 1725313024
hw.memsize = 8589934592
</pre>
There is the following too:
<pre>
vm.swapusage: total = 128.00M used = 0.37M free = 127.63M (encrypted)
</pre>
Bit of a nightmare to parse though.
----------------------------------------
Bug #6327: Memory facts should be available on Mac Darwin
https://projects.puppetlabs.com/issues/6327
Author: Matt Robinson
Status: Accepted
Priority: Normal
Assignee: Adrien Thebo
Category: library
Target version: 1.5.9
Keywords:
Branch:
memoryfree and most other memory facts aren't availble on Darwin.
--
You have received this notification because you have either subscribed to it,
or are involved in it.
To change your notification preferences, please click here:
http://projects.puppetlabs.com/my/account
--
You received this message because you are subscribed to the Google Groups
"Puppet Bugs" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/puppet-bugs?hl=en.