summaryrefslogtreecommitdiffstats
path: root/lib/facter/memory.rb
Commit message (Collapse)AuthorAgeFilesLines
* (#5394) Document each Facter fact.Ben H2011-03-311-0/+17
| | | | | | | | | Document all the builtin Facter facts in puppetdoc/rdoc format. This is laying the ground work for using a tool like puppet doc, or puppet describe but for facter, so you can see what a fact is for and how it resolves this. This is the "leg work" of documenting the actual facts, and the syntax of them may change in future.
* maint: cleanup whitespaceMatt Robinson2011-03-221-18/+18
|
* (#6327) Memory facts should be available on Mac DarwinBen H2011-03-171-0/+37
| | | | | | | | | | There's no easy defined way of getting memory information from the command line. Copying mainly the OpenBSD facts, but having to pull in memory free from the vm_stat utility, and parsing the weird vm.swapusage sysctl value for swap. Parsing "top -l 1 -n 0" seemed an option, but that took over a second to run each time, so this appears cheaper.
* (#5011) Adds swap statistics for OSXAdrien Thebo2011-03-151-0/+30
| | | | | - Added swapfree and swapsize facts - Tests will now run correctly for osx swap tests
* Fix #4755: add support for GNU/kFreeBSD platform where missing.Marc Fournier2011-01-311-1/+1
| | | | | | | | | Merged manually to the current state of the art. Minimal conflicts resolved by adding both Darwin and GNU/KFreeBSD to the confine lines. Author: Marc Fournier <marc.fournier@camptocamp.com> Signed-off-by: Daniel Pittman <daniel@puppetlabs.com> Signed-off-by: Rick Bradley <rick@rickbradley.com>
* (#1423) Memory facts for SolarisDominic Cleal2010-12-061-7/+44
| | | | | Add total memory from prtconf output, free from vmstat plus swap free and total from swap -l listing.
* Fixed #3929 - Added user confine to AIX memory factsJames Turnbull2010-06-181-7/+7
|
* Fixed #2313 - Somewhat essential hardware facts not available on OpenBSD, ↵James Turnbull2010-04-241-0/+41
| | | | | | patch included Thanks to Joe McDonagh for the patch.
* more consistent indentation and alignment. also removal of trailing whitespaceIan Taylor2009-02-281-4/+5
|
* Fixes #1376 - Display memory facts for AIXSteven Hajducko2008-06-191-0/+25
| | | | | memfree is still unavailable - no known way to get the fact without root and monitoring commands.
* Updated version. Moved most facts to seperate files.James Turnbull2008-05-171-12/+1
|
* Split out facts from facter.rb and moved all support code to utilJames Turnbull2008-02-081-38/+1
|
* Applying memfree patch from #17.luke2006-09-141-2/+8
| | | | git-svn-id: http://reductivelabs.com/svn/facter/trunk@162 1f5c1d6a-bddf-0310-8f58-fc49e503516a
* Adding thread exclusivity to memory and cpu readingluke2006-06-271-3/+7
| | | | git-svn-id: http://reductivelabs.com/svn/facter/trunk@147 1f5c1d6a-bddf-0310-8f58-fc49e503516a
* Re-adding these files, since Matt has found a solution to the hanging problem.luke2006-06-271-0/+58
| | | | git-svn-id: http://reductivelabs.com/svn/facter/trunk@146 1f5c1d6a-bddf-0310-8f58-fc49e503516a
* Deleting this file until the hanging problems are resolvedluke2006-06-261-58/+0
| | | | git-svn-id: http://reductivelabs.com/svn/facter/trunk@144 1f5c1d6a-bddf-0310-8f58-fc49e503516a
* Switching "tag" to "confine", because it is a more appropriate term. I will ↵luke2006-05-301-1/+1
| | | | | | also add "tags", but they will be used for creating fact collections. git-svn-id: http://reductivelabs.com/svn/facter/trunk@120 1f5c1d6a-bddf-0310-8f58-fc49e503516a
* fixing linux memory stuffluke2006-05-301-1/+1
| | | | git-svn-id: http://reductivelabs.com/svn/facter/trunk@115 1f5c1d6a-bddf-0310-8f58-fc49e503516a
* accepting patch in #10, although with more abstraction, and creating a ↵luke2006-05-301-0/+58
module for the memory functions git-svn-id: http://reductivelabs.com/svn/facter/trunk@114 1f5c1d6a-bddf-0310-8f58-fc49e503516a