[% META title = 'Test » DB Status' %]
DB status:
[% headers = [ 'Id' 'User' 'Host' 'db' 'Command' 'Time' 'State' 'Info' ] %]
[% FOREACH h IN headers %]| [% h %] | [% END %]
[% FOREACH row IN list;
NEXT IF row.last.match('PROCESSLIST'); # skip current request %]
[% FOREACH entry IN row %]| [% entry %] | [% END %]
[% END %]