title: Output of "top" and "df -h" command to a log file then send to my email
body: <p>I will send the "top" and "df-h" command into my email? I tried this code below but I didn't received it on my email.
  This is my script.</p>
  
  <pre><code>echo
  echo "Please Wait. . . "
  echo
  echo "TOP $(date '+%Y_%m_%d--%H:%M:%S')" &gt; top1.dat
  echo  "==================================================***================================================" &gt; top2.dat
  cat top1.dat top2.dat &gt; maintop.dat
  top -b -n1 &gt; MSITOP.log
  cat maintop.dat MSITOP.log &gt; TOPTOP.log
  echo "SIZE  $(date '+%Y_%m_%d--%H:%M:%S')" &gt; size1.dat
  echo "==================================================***================================================" &gt; size2.dat
  cat size1.dat size2.dat &gt; mainsize.dat
  df -h &gt; MSIDF.log
  cat mainsize.dat MSIDF.log &gt; SIZESIZE.log
  cat TOPTOP.log SIZESIZE.log &gt; LOG_$(date '+%Y_%m_%d--%H:%M:%S').log
  cat TOPTOP.log  SIZESIZE.log &gt; output.tmp
  
  rm -rf output.tmp MSITOP.log MSIDF.log top1.dat top2.dat maintop.dat TOPTOP.log size1.dat size2.dat mainsize.dat MSIDF.log SIZESIZE.log
  echo "Successful!"
  echo
  </code></pre>