You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by Antonio Gallardo <ag...@agsoftware.dnsalias.com> on 2003/04/28 08:33:25 UTC

[PATH] Correction to show MB or kB in memory group od status page.

Hi:

I am playing with the staus page at:

http://localhost:8080/cocoon/samples/status.html

But the page does not show the total and free memory in MB or Kb, rather
show it in bytes.

SOLUTION:

In the CVS file:

/src/webapp/stylesheets/system/status2html.xslt

change line 38 from:

<xsl:when test="contains(@status:name,'memory')">

to:

<xsl:when test="contains(@status:name,'free') or
contains(@status:name,'total')">

This solve the problem

Best Regards,

Antonio Gallardo