https://bugzilla.novell.com/show_bug.cgi?id=227742 garloff@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO Info Provider| |werner@novell.com ------- Comment #5 from garloff@novell.com 2006-12-22 05:43 MST ------- Suggested implementation. Werner, does this pass your review? if test -r /proc/meminfo -a -r /etc/sysconfig/ulimit; then # Get memory & swap sizes to evaluate the percentages MEMTOT=524288; SWPTOT=0 while read tag num unit; do case $tag in MemTotal:) MEMTOT=$num ;; SwapTotal:) SWPTOT=$num ;; esac done < /proc/meminfo TOT=$(($MEMTOT+$SWPTOT)) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.