Like PHP only Faster!
   
 


$use("codex.util")
$use("codex.http")

<html>
   <body bgcolor="#FFFFFF">
      <table border=0 cellpadding=0>
         <tr>
            <td valign=top>
               Total Memory = $(getTotalMemory() / (1024*1024 ))M
                            = $(getTotalMemory() / (1024 ))K
                            = $(getTotalMemory())B <br>
               Free Memory = $(getFreeMemory() / (1024*1024 ))M
                           =  $(getFreeMemory() / (1024 ))K
                           =  $(getFreeMemory())B <br>
               Used Memory = $((getTotalMemory()-getFreeMemory()) / (1024*1024 ))M
                           = $((getTotalMemory()-getFreeMemory()) / (1024 ))K
                           = $((getTotalMemory()-getFreeMemory()))B<br>
               Objects Allocated = $(getANodes()) <br>
               Available Segments = $(getFNodes()) <br>
               Total Context Objects = $(getContext().getObjectCount()) <br>
               Total Sessions = $(getContext().getSessionCount()) <br>
               States Per Session = $(getContext().getStatesPerSession()) <br>
               Session Timeout = $(getContext().getSessionTimeout()) <br>
            </td><td
                  height="100"
                  width="50"
                  bgcolor="0000FF"
                  valign=bottom
                 ><img
                  border="0"
                  src="rbar.gif"
                  width="50"
                  height="$(100 - <int>((<float>getFreeMemory()/getTotalMemory())*100))"
            ></td>
         <tr>
      </table>
   </body>
</html>