--- projects/cms/source/server/uk/org/iscream/cms/server/client/monitors/Memory__Monitor.java 2003/03/10 08:42:57 1.15 +++ projects/cms/source/server/uk/org/iscream/cms/server/client/monitors/Memory__Monitor.java 2003/03/10 08:59:19 1.16 @@ -33,7 +33,7 @@ import uk.org.iscream.cms.server.componentmanager.*; * This Monitor watches the Memory for all machines * * @author $Author: tdb $ - * @version $Id: Memory__Monitor.java,v 1.15 2003/03/10 08:42:57 tdb Exp $ + * @version $Id: Memory__Monitor.java,v 1.16 2003/03/10 08:59:19 tdb Exp $ */ public class Memory__Monitor extends MonitorSkeleton { @@ -42,7 +42,7 @@ public class Memory__Monitor extends MonitorSkeleton { /** * The current CVS revision of this class */ - public final String REVISION = "$Revision: 1.15 $"; + public final String REVISION = "$Revision: 1.16 $"; /** * A description of this monitor @@ -140,14 +140,14 @@ public class Memory__Monitor extends MonitorSkeleton { type = "%"; } - // format the memoryInUse to a String + // format the value to a String NumberFormat nf = NumberFormat.getInstance(); nf.setMaximumFractionDigits(2); nf.setMinimumFractionDigits(2); String strCurValue = nf.format(curValue); // set the attributeName nicely - String attributeName = type + " Memory in use"; + String attributeName = type + " Memory in use " + type; if(useCache) { attributeName += " (ex. cache)"; }