Finding memory info

Stuart Jansen sjansen at buscaluz.org
Thu Jun 21 11:49:27 MDT 2007


On Thu, 2007-06-21 at 09:33 -0600, Derek Davis wrote:
> In order to get the amount of memory, I am using lshw because it gives
> the number of memory banks as well.
*snip*
> I'm trying to make it as generic as possible, but never know when a
> new case will arise that I missed.

I was going to suggest dmidecode, but a quick test shows it also has
different output depending on version. Oh well, one more data point.

-- 
Stuart Jansen              e-mail/jabber: sjansen at buscaluz.org
                           google talk:   stuart.jansen at gmail.com

"However beautiful the strategy, you should occasionally look at 
the results." -- Winston Churchill
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://plug.org/pipermail/plug/attachments/20070621/52ce6554/attachment.bin 


More information about the PLUG mailing list