Index: trunk/extensions/Wikidata/util/performance.cgi |
— | — | @@ -1,18 +1,17 @@ |
2 | 2 | #!/bin/bash |
3 | 3 | echo "Content-type: text/html" |
4 | | - |
| 4 | +echo |
5 | 5 | echo '<html>' |
6 | 6 | echo '<body>' |
7 | 7 | echo '<h1> performance statistics </h1>' |
8 | 8 | echo '<pre>' |
9 | | -echo '=== Qcache ===' |
| 9 | +echo '<div style="color:#A00">=== Qcache ===</div>' |
10 | 10 | echo 'show status like "Qcache%";' | mysql |
11 | | - |
12 | 11 | echo |
13 | | -echo '== Innodb ==' |
| 12 | +echo '<div style="color:#0A0">=== Innodb ===</div>' |
14 | 13 | echo 'show status like "%buffer%";' | mysql |
15 | | - |
16 | | -echo '== Memory (1 Mb blocks) ==' |
| 14 | +echo |
| 15 | +echo '<div style="color:#00A">=== Memory (1 Mb blocks) ===</div>' |
17 | 16 | free -m |
18 | 17 | |
19 | 18 | echo '</pre>' |