Show full processlist

This commit is contained in:
Jakub Vrana 2010-06-24 15:15:02 +02:00
parent 9d5c6f700d
commit 5f9f6614c0

View file

@ -13,9 +13,9 @@ page_header(lang('Process list'), $error);
?> ?>
<form action="" method="post"> <form action="" method="post">
<table cellspacing="0" onclick="tableClick(event);"> <table cellspacing="0" onclick="tableClick(event);" class="nowrap">
<?php <?php
$result = $connection->query("SHOW PROCESSLIST"); $result = $connection->query("SHOW FULL PROCESSLIST");
for ($i=0; $row = $result->fetch_assoc(); $i++) { for ($i=0; $row = $result->fetch_assoc(); $i++) {
if (!$i) { if (!$i) {
echo "<thead><tr lang='en'><th>&nbsp;<th>" . implode("<th>", array_keys($row)) . "</thead>\n"; echo "<thead><tr lang='en'><th>&nbsp;<th>" . implode("<th>", array_keys($row)) . "</thead>\n";