soscmd/soscmd-dropcache

6 lines
132 B
Text
Raw Permalink Normal View History

2023-06-03 11:28:50 +02:00
#!/bin/bash
echo ":: Flushing file cache to disk"
sync;sync
echo ":: Erasing file cache"
echo 3>/proc/sys/vm/drop_caches&>/dev/null