Add drop caches

This commit is contained in:
Alexey Milovidov 2020-08-12 06:31:10 +03:00
parent 360f4d93ef
commit c8d3959c4f

View File

@ -1,6 +1,7 @@
#!/bin/bash
grep -v -P '^#' queries.sql | sed -e 's/{table}/hits/' | while read query; do
echo 3 | sudo tee /proc/sys/vm/drop_caches
echo "$query";
for i in {1..3}; do