Closed
Bug 808103
Opened 12 years ago
Closed 9 years ago
Extend facter/physical_memory_mb.rb to accommodate VMs
Categories
(Cloud Services :: Operations: Miscellaneous, task)
Tracking
(Not tracked)
RESOLVED
WONTFIX
People
(Reporter: gene, Unassigned)
Details
Extend the custom fact "svn.mozilla.org/sysadmins/puppet/weave/modules/mysql/lib/facter/physical_memory_mb.rb" to accommodate VMs which don't reveal physical memory through dmidecode. Here's an implementation in python which gets the data from dmesg http://www.appelboor.com/dump/check-my-memory.py
Reporter | ||
Updated•12 years ago
|
Assignee: nobody → gene
it's been theorized that parsing the output of `free` would be sufficient.
or for that matter, /proc/meminfo
also, come to think of it, parsing dmesg isn't always safe. The ring buffer that dmesg works from can get overrun by audit messages and dmesg will no longer have the memory stat.
Reporter | ||
Updated•11 years ago
|
Assignee: gene → nobody
Updated•9 years ago
|
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → WONTFIX
You need to log in
before you can comment on or make changes to this bug.
Description
•