Hi i am redirecting the top command output to some file with hostname. i want to mail that through the script. Plz advice. At present i am using this script for generating the output.
#This script gives the output of performance of the system and diverts the output to mentioned path
top -f $PERF_HOME/$HOSTNAME