#!/bin/sh

mem=$(free -k | grep "Mem")
memtotal=$(echo "$mem" | awk -F' ' '{ print $2 }')
memavail=$(echo "$mem" | awk -F' ' '{ print $7 }')
ramu=$(( 100*(memtotal-memavail)/memtotal ))
echo "異 $ramu%"
