r24858 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r24857‎ | r24858 | r24859 >
Date:20:37, 16 August 2007
Author:kim
Status:old
Tags:
Comment:
Performance tracking
Modified paths:
  • /trunk/extensions/Wikidata/util/performance.cgi (added) (history)

Diff [purge]

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
122 + *

Status & tagging log