6 lines
217 B
Bash
6 lines
217 B
Bash
#!/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 |