This repository has been archived on 2024-04-08. You can view files and clone it, but cannot push or open issues or pull requests.
phptsmadmin/application/views/db/info.php

42 lines
1.3 KiB
PHP
Raw Normal View History

<!-- $o = ORM::factory('DB') -->
<table class="box-full">
<tr>
<td class="head" colspan="2">Database Information</td>
</tr>
<tr>
<td class="spacer">&nbsp;</td>
</tr>
<tr>
<td style="width: 40%;">Database Name</td>
<td style="width: 60%;" class="data"><?php echo $o->display('DATABASE_NAME'); ?></td>
</tr>
<tr>
<td>Space</td>
<td class="data"><?php printf('%sMB Free/ %sMB Used/ %sMB Total',$o->display('FREE_SPACE_MB'),$o->display('USED_DB_SPACE_MB'),$o->display('TOT_FILE_SYSTEM_MB')); ?></td>
</tr>
<tr>
<td>Database Pages</td>
<td class="data"><?php printf('%s Free/ %s Used/ %s Total (%s Usable)',$o->display('FREE_PAGES'),$o->display('USED_PAGES'),$o->display('TOTAL_PAGES'),$o->display('USABLE_PAGES')); ?></td>
</tr>
<tr>
<td>Buffer</td>
<td class="data"><?php printf('%s%% Hit Ratio (%s Requests)',$o->display('BUFF_HIT_RATIO'),$o->display('TOTAL_BUFF_REQ')); ?></td>
</tr>
<tr>
<td>Last Reorg</td>
<td class="data"><?php echo $o->display('LAST_REORG'); ?></td>
</tr>
<tr>
<td>Last Backup</td>
<td class="data"><?php echo $o->display('LAST_BACKUP_DATE'); ?></td>
</tr>
<tr>
<td>Backup Streams</td>
<td class="data"><?php echo $o->display('NUM_BACKUP_STREAMS'); ?></td>
</tr>
<tr>
<td>Backup Device Class</td>
<td class="data"><?php echo $o->display('FULL_DEV_CLASS'); ?></td>
</tr>
</table>