#!/bin/bash # # Report_Stats - Generates Rpt from Captured Perf Stats # ############################################################ # # Set Script Variables # REPORT_FILE=/home/tiandi/Documents/capstats.csv TEMP_FILE=/home/tiandi/Documents/capstats.html # DATE=`date +%m/%d/%y` # MAIL=`which mutt` MAIL_TO=tiandi # ###############################################################3 # # Create Report Header # echo "
Date | Time | Users | " >> $TEMP_FILE echo "Load | Free Memory | %CPU Idle |
%s | %s | %s | ", $1, $2, $3; printf "%s | %s | %s | \n