Comment 3 for bug 706764

Revision history for this message
Gerry Reno (greno-verizon) wrote :

When I look at upstream 20061020-3:
   MEMSIZE="`head -1 /proc/meminfo | awk '{ print $2 }'`"
looks like it still might be high by a factor of 1024 since MEMSIZE is in megabytes and meminfo is in kilobytes.

That is why my patch adjusted for the difference:
   MEMSIZE=$(($(cat /proc/meminfo | awk '/^MemTotal/ { print $2 }') / 1024))