Index: trunk/extensions/Wikidata/util/performance.cgi |
— | — | @@ -0,0 +1,20 @@ |
| 2 | +#!/bin/bash |
| 3 | +echo "Content-type: text/html" |
| 4 | + |
| 5 | +echo '<html>' |
| 6 | +echo '<body>' |
| 7 | +echo '<h1> performance statistics </h1>' |
| 8 | +echo '<pre>' |
| 9 | +echo '=== Qcache ===' |
| 10 | +echo 'show status like "Qcache%";' | mysql |
| 11 | + |
| 12 | +echo |
| 13 | +echo '== Innodb ==' |
| 14 | +echo 'show status like "%buffer%";' | mysql |
| 15 | + |
| 16 | +echo '== Memory (1 Mb blocks) ==' |
| 17 | +free -m |
| 18 | + |
| 19 | +echo '</pre>' |
| 20 | +echo '</body>' |
| 21 | +echo '</html>' |
Property changes on: trunk/extensions/Wikidata/util/performance.cgi |
___________________________________________________________________ |
Added: svn:executable |
1 | 22 | + * |