diff --git a/.gitattributes b/.gitattributes index f3761f0c7ab00bc52dbc55a49e85411b45cfdbf6..3aeac0a8919c747b91e9916e7c462f1392351fc0 100644 --- a/.gitattributes +++ b/.gitattributes @@ -4497,6 +4497,7 @@ scripts/iosrd.sh -text scripts/opac2.sql -text scripts/opac3.el -text scripts/svn-export.sh -text +scripts/top_10_slow_request.sh -text tests/.htaccess -text tests/TestXPathFactory.php -text tests/application/modules/AbstractControllerTestCase.php -text diff --git a/scripts/top_10_slow_request.sh b/scripts/top_10_slow_request.sh new file mode 100755 index 0000000000000000000000000000000000000000..ae15e315e3e0c95752ccf9e0906bf4364d945821 --- /dev/null +++ b/scripts/top_10_slow_request.sh @@ -0,0 +1,2 @@ +#!/bin/sh +grep -o "\/[^?]\+?[^&]\+" $1|sort|uniq -c|sort|tail -n 10