PHP Code:
<?php
function mysql_memusage()
{$array = explode(" ", mysql_stat());
foreach ($array as $value){echo $value . "<br />";}}
echo mysql_memusage();
?>
Uptime: 1206596
Threads: 20
Questions: 1097213170
Slow queries: 255
Opens: 27605568
Flush tables: 1
Open tables: 256
Queries per second avg: 909.345
These are huge values for a script with 7 tables is there any way that i can check this values but only for my database and not for the whole freakin host lol ?
Comment