修改: README.md
修改: mail.log.sh
This commit is contained in:
parent
aa0ab9faee
commit
9db01550c1
@ -1,5 +1,5 @@
|
|||||||
# mail.log
|
# mail.log
|
||||||
记录mail server的一些信息.
|
记录mail server的一些信息,攻击IP等.
|
||||||
- 适用Debian 8、9
|
- 适用Debian 8、9
|
||||||
|
|
||||||
crontab 定时任务,像这样.
|
crontab 定时任务,像这样.
|
||||||
|
@ -10,8 +10,8 @@ function run()
|
|||||||
pwd_path="/root";
|
pwd_path="/root";
|
||||||
TIME=`date +"%Y%m%d"`;
|
TIME=`date +"%Y%m%d"`;
|
||||||
log_file="${pwd_path}/${TIME}.log";
|
log_file="${pwd_path}/${TIME}.log";
|
||||||
email_address="1605227279@qq.com";
|
email_address="1605227279@qq.com";
|
||||||
num=9;
|
num=9;
|
||||||
|
|
||||||
echo "Read-Only Memory,ROM:" &>> ${log_file}
|
echo "Read-Only Memory,ROM:" &>> ${log_file}
|
||||||
df -am &>> ${log_file}
|
df -am &>> ${log_file}
|
||||||
|
Loading…
Reference in New Issue
Block a user