function Linux_swap_mon { free -m | grep -i swap | while read junk SW_TOTAL SW_USED SW_FREE do # Use the bc utility in a here document to calculate # the percentage of free and used swap space. PERCENT_USED=$(bc <