Widgitized the output
This commit is contained in:
49
application/views/node/session.php
Normal file
49
application/views/node/session.php
Normal file
@@ -0,0 +1,49 @@
|
||||
<!-- $o = ORM::factory('NODE') -->
|
||||
<table class="box-full">
|
||||
<tr>
|
||||
<td class="head" colspan="2">Last Session Performance Information</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="spacer"> </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>
|
Reference in New Issue
Block a user