New version for Bitable

This commit is contained in:
2020-11-25 11:58:05 +07:00
parent 4d80db165f
commit d791967670
19 changed files with 425 additions and 0 deletions

6
monitor/cache/clearcache.sh vendored Normal file
View File

@@ -0,0 +1,6 @@
#!/bin/bash
sync; echo 1 > /proc/sys/vm/drop_caches
time_begin=$(date)
echo "$time_begin : clearcache!!" >> /root/monitor/log/cache.txt
echo "************************************" >> /root/monitor/log/cache.txt
exit 0

6
monitor/cache/restart_service.sh vendored Normal file
View File

@@ -0,0 +1,6 @@
#!/bin/bash
time_begin=$(date)
echo "$time_begin : restart service!!" >> /root/monitor/log/cache.txt
systemctl restart S905X_BI
echo "************************************" >> /root/monitor/log/cache.txt
exit 0