#!/usr/bin/env zsh
echo -e "Subject: server report on $(date -u '+%Y-%m-%d @ %H:%M:%S')\n\n" \
> ~/devinfo.txt
free -h \
>> ~/devinfo.txt
df -H \
iostat -dx /dev/sd* \
cat ~/devinfo.txt \
| sendmail \
-v server@dym.sh