All, thanks for your help... This should be easy:
My script prints this to stdout/terminal perfectly... its pretty in the script but not below... ???? :
# Print to stdout
echo "------- CAPACITY TEST FAILED -------"
echo -n " SYSTEM NAME: " ; uname -n
echo -n " USER DETAIL: " ; whoami
echo " PARTITION: $PART "
echo " USED SPACE: $USEDSPC "
echo " THRESHOLD LIMIT OF $THRESH% EXCEEDED"
echo "------------------------------------"
I have tried numerous mailx options/formats but coming up a few fry's short of a 'happy meal'... Any help is awesome.
Please note I cannot change the red hat server in any way, shape, or form... frankly they don't want me breathing on it... my job is to script around it!1
only prettier
– SSDdude Feb 23 '18 at 23:30