|go ahead... be a heretic|
Re^3: grabbing dmidecode memory data - there's got to be a better wayby afoken (Monsignor)
|on Dec 29, 2012 at 18:43 UTC||Need Help??|
dmidecode has even more useful switches:
You could use -s and -t to filter inside dmidecode, so that you have less data to process.
The -u switch generates a slightly more predictable format. You could decode the hexdumps inside perl, using knowledge from DMI::Decode (i.e. copy and port the C code from there to perl).
The --dump-bin switch delivers the raw DMI data, which you could decode all by yourself, again by using knowledge from DMI::Decode.
Today I will gladly share my knowledge and experience, for there are no sweeter words than "I told you so". ;-)