Update memory-metrics.rb to add percentage output

Added a command line switch to make all the output percentages of the totals. If the switch is not used, the old behavior applies (absolute values).