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/node/session.php

50 lines
2.0 KiB
PHP
Raw Permalink Normal View History

2012-11-29 22:58:15 +00:00
<!-- $o = ORM::factory('NODE') -->
<table class="box-full">
<tr>
<td class="head" colspan="2">Last Session Performance Information</td>
</tr>
<tr>
<td class="spacer">&nbsp;</td>
</tr>
<tr>
<td style="width: 40%;">Last Access</td>
<td style="width: 60%;" class="data"><?php echo $o->display('LASTACC_TIME'); ?></td>
</tr>
<tr>
<td>Last Sent</td>
<td class="data"><?php echo number_format($o->LASTSESS_SENT/1024/1024,2); ?> MB</td>
</tr>
<tr>
<td>Last Receive</td>
<td class="data"><?php echo number_format($o->LASTSESS_RECVD/1024/1024,2); ?> MB</td>
</tr>
<tr>
<td>Last Duration</td>
<td class="data"><?php echo number_format($o->LASTSESS_DURATION/60,2); ?> min</td>
</tr>
<tr>
<td>Last Session Idle Wait Percent</td>
<td class="data"><?php echo $o->display('LASTSESS_IDLEWAIT'); ?>% (<?php echo number_format($o->LASTSESS_DURATION*($o->LASTSESS_IDLEWAIT/100),2); ?>s)</td>
</tr>
<tr>
<td>Last Session Comm Wait Percent</td>
<td class="data"><?php echo $o->display('LASTSESS_COMMWAIT'); ?>% (<?php echo number_format($o->LASTSESS_DURATION*($o->LASTSESS_COMMWAIT/100),2); ?>s)</td>
</tr>
<tr>
<td>Last Session Media Wait Percent</td>
<td class="data"><?php echo $o->display('LASTSESS_MEDIAWAIT'); ?>% (<?php echo number_format($o->LASTSESS_DURATION*($o->LASTSESS_MEDIAWAIT/100),2); ?>s)</td>
</tr>
<tr>
<td>Last Session Transfer Percent</td>
<td class="data"><?php echo number_format($o->lasttransferpercent(),2); ?>% (<?php echo number_format($o->lasttransfertime(),2); ?>s)</td>
</tr>
<tr>
<td>Last Session Send Performance</td>
<td class="data"><?php echo number_format($o->lastsendperformance(),2); ?> MB/s (<?php echo number_format($o->lastsendaggperformance(),2); ?> MB/s Aggregate)</td>
</tr>
<tr>
<td>Last Session Receive Performance</td>
<td class="data"><?php echo number_format($o->lastreceiveperformance(),2); ?> MB/s (<?php echo number_format($o->lastreceiveaggperformance(),2); ?> MB/s Aggregate)</td>
</tr>
</table>