<?php
/**
 * ThunderSnarf
 *
 * @author Ricardo H.F. Sette P. <ricardohfsp@gmail.com>
 * @link http://www.freebsdbrasil.com.br/
 * @copyright Copyright &copy; 2010 - FreeBSD Brasil LTDA
 * @license licença GNU/GPL v2.0 http://www.gnu.org/licenses/gpl-2.0.html
 */
?>
<table style="border:1px solid #c1c1c1">
	<tr>
		<td style='border:1px solid #c1c1c1;text-align:center;background-color:#f1f1f1' colspan='6'>MEMÓRIA</td>
	</tr>
	<tr>
		<td style='border:1px solid #c1c1c1;text-align:right;background-color:#f1f1f1;width:25%'>Total</td>
		<td align='center' style="border:1px solid #c1c1c1;" colspan='3'><?php echo $Total;?>Mb</td>
	</tr>
	<tr>
		<td style='border:1px solid #c1c1c1;text-align:right;background-color:#f1f1f1;width:25%' title="Memória setada para utilização">Alocada</td>
		<td align='center' style="border:1px solid #c1c1c1;width:25%"><?php echo $Total;?> Mb</td>
		<td style='border:1px solid #c1c1c1;text-align:right;background-color:#f1f1f1;width:25%' title="Memória livre">Não Alocada</td>
		<td align='center' style="border:1px solid #c1c1c1;width:25%"><?php echo $NaoAlocada;?>Mb</td>
	</tr>
	<tr>
		<td style='border:1px solid #c1c1c1;text-align:right;background-color:#f1f1f1' title="Memória em utilização">Ativa</td>
		<td align='center' style="border:1px solid #c1c1c1"><?php echo $Ativa;?>Mb</td>
		<td style='border:1px solid #c1c1c1;text-align:right;background-color:#f1f1f1' title="Memória sem utilização">Inativa</td>
		<td align='center' style="border:1px solid #c1c1c1"><?php echo $Inativa;?> Mb</td>
	</tr>
	<tr>
		<td style='border:1px solid #c1c1c1;text-align:right;background-color:#f1f1f1'>Mem Cached</td>
		<td align='center' style="border:1px solid #c1c1c1"><?php echo $Cached;?>Mb</td>
		<td style='border:1px solid #c1c1c1;text-align:right;background-color:#f1f1f1'>Mem Buffer</td>
		<td align='center' style="border:1px solid #c1c1c1"><?php echo $Buffer;?>Mb</td>
	</tr>
	<tr>
		<td style='border:1px solid #c1c1c1;text-align:right;background-color:#f1f1f1'>Swap Total</td>
		<td align='center' style="border:1px solid #c1c1c1" colspan='3'><?php echo $SwapTotal;?>Mb</td>
	</tr>
	<tr>
		<td style='border:1px solid #c1c1c1;text-align:right;background-color:#f1f1f1'>Swap Usada</td>
		<td align='center' style="border:1px solid #c1c1c1" colspan='3'><?php echo $SwapUsada;?>Mb</td>
	</tr>
</table>