Linux: скрипт очистки памяти

#!/bin/sh
free -h
sync
echo 1 | sudo tee -a /proc/sys/vm/drop_caches
sync
echo 2 | sudo tee -a /proc/sys/vm/drop_caches
sync
echo 3 | sudo tee -a /proc/sys/vm/drop_caches
echo "--------------OK--------------"
free -h
sleep 5s
exit 0