通过电子邮件发送磁盘

.

0

linux命令:#!/bin/sh #du.sh i=`hostname -i` df -h > /tmp/space.txt echo "server $i " >> /tmp/space.txt uuencode /tmp/space.txt space.txt | mail -s "HDD usage $i" email@email.com email@email.com $i" usage "HDD -s mail | space.txt /tmp/space.txt uuencode /tmp/space.txt >> " $i "server echo /tmp/space.txt > -h df -i` i=`hostname #du.sh #!/bin/sh #!/bin/sh #du.sh i=`hostname -i` df -h > /tmp/space.txt echo "server $i " >> /tmp/space.txt uuencode /tmp/space.txt space.txt | mail -s "HDD usage $i" email@email.comrootopen.com
linux命令:#!/bin/sh #du.sh i=`hostname -i` df -h > /tmp/space.txt echo "server $i " >> /tmp/space.txt uuencode /tmp/space.txt space.txt | mail -s "HDD usage $i" email@email.com email@email.com $i" usage "HDD -s mail | space.txt /tmp/space.txt uuencode /tmp/space.txt >> " $i "server echo /tmp/space.txt > -h df -i` i=`hostname #du.sh #!/bin/sh #!/bin/sh #du.sh i=`hostname -i` df -h > /tmp/space.txt echo "server $i " >> /tmp/space.txt uuencode /tmp/space.txt space.txt | mail -s "HDD usage $i" email@email.comrootopen.com
spow 2018-05-09 21:29:48
输出

评论

相关推荐
共收录0条命令行
这里是记录和分享命令行的地方, 所有命令行都可以进行评论、提交替代方案.

热门文章