Bill McGonigle <[EMAIL PROTECTED]> 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
_______________________________________________
gnhlug-discuss mailing list
gnhlug-discuss@mail.gnhlug.org
http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/

Reply via email to