aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/develop/collect_cache_stats.sh
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/develop/collect_cache_stats.sh')
-rwxr-xr-xphpBB/develop/collect_cache_stats.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/phpBB/develop/collect_cache_stats.sh b/phpBB/develop/collect_cache_stats.sh
new file mode 100755
index 0000000000..5bb31c5173
--- /dev/null
+++ b/phpBB/develop/collect_cache_stats.sh
@@ -0,0 +1,3 @@
+#!/bin/sh
+DIR=$(dirname "$0")/../cache;
+cat "$DIR/sql_*.php" | grep '/* SELECT' | sed 's,/\* ,,;s, \*/,,' | sort