cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Antonio Gallardo" <agalla...@agsoftware.dnsalias.com>
Subject [PATH] Correction to show MB or kB in memory group od status page.
Date Mon, 28 Apr 2003 06:33:25 GMT
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



Mime
View raw message