42 lines
1.3 KiB
PHP
42 lines
1.3 KiB
PHP
|
<!-- $o = ORM::factory('DB') -->
|
||
|
<table class="box-full">
|
||
|
<tr>
|
||
|
<td class="head" colspan="2">Database Information</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td class="spacer"> </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>
|