How do you determine the amount of system memory?
    Paul Lussier 
    p.lussier at comcast.net
       
    Wed Jul 30 13:11:41 EDT 2008
    
    
  
Bill McGonigle <bill at bfccomputing.com> writes:
> As Steve mentioned, dmidecode provides information on physical  
> memory.  Here's a quickie to dump memory sizes:
>
>    sudo dmidecode -t 6 | grep Installed | grep -v Not | cut -f 2 -d :  
> | cut -f 2,3 -d ' '
Interestingly, I have to use -t 17, not 6...
And this:
  dmidecode -t 17 -q |\
  awk '/Size: / && !/No Module/ {total = total + $2} END {print total}'
gets me total physMem...
> Sending that output into Frink should be quite easy, given an extra  
> 10 minutes of work.
What's Frink ?
-- 
Seeya,
Paul
    
    
More information about the gnhlug-discuss
mailing list