felix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From don...@apache.org
Subject svn commit: r709458 - in /felix/sandbox/donsez/monitor.sample.usagemonitor/src/main/java/org/apache/felix/sandbox/monitor/sample: cpumonitor/CPUUsageMonitor.java osmemmonitor/OSMemoryUsageMonitor.java
Date Fri, 31 Oct 2008 16:18:12 GMT
Author: donsez
Date: Fri Oct 31 09:18:11 2008
New Revision: 709458

URL: http://svn.apache.org/viewvc?rev=709458&view=rev
Log:
fix the list of state variables names

Modified:
    felix/sandbox/donsez/monitor.sample.usagemonitor/src/main/java/org/apache/felix/sandbox/monitor/sample/cpumonitor/CPUUsageMonitor.java
    felix/sandbox/donsez/monitor.sample.usagemonitor/src/main/java/org/apache/felix/sandbox/monitor/sample/osmemmonitor/OSMemoryUsageMonitor.java

Modified: felix/sandbox/donsez/monitor.sample.usagemonitor/src/main/java/org/apache/felix/sandbox/monitor/sample/cpumonitor/CPUUsageMonitor.java
URL: http://svn.apache.org/viewvc/felix/sandbox/donsez/monitor.sample.usagemonitor/src/main/java/org/apache/felix/sandbox/monitor/sample/cpumonitor/CPUUsageMonitor.java?rev=709458&r1=709457&r2=709458&view=diff
==============================================================================
--- felix/sandbox/donsez/monitor.sample.usagemonitor/src/main/java/org/apache/felix/sandbox/monitor/sample/cpumonitor/CPUUsageMonitor.java
(original)
+++ felix/sandbox/donsez/monitor.sample.usagemonitor/src/main/java/org/apache/felix/sandbox/monitor/sample/cpumonitor/CPUUsageMonitor.java
Fri Oct 31 09:18:11 2008
@@ -71,7 +71,7 @@
 	}
 
 	public String[] getStatusVariableNames() {
-		return new String[] { CPU_USED_VARIABLE_NAME };
+		return new String[] { CPU_USED_VARIABLE_NAME, CPU_FREQUENCY_VARIABLE_NAME };
 	}
 
 	public StatusVariable getStatusVariable(String name)

Modified: felix/sandbox/donsez/monitor.sample.usagemonitor/src/main/java/org/apache/felix/sandbox/monitor/sample/osmemmonitor/OSMemoryUsageMonitor.java
URL: http://svn.apache.org/viewvc/felix/sandbox/donsez/monitor.sample.usagemonitor/src/main/java/org/apache/felix/sandbox/monitor/sample/osmemmonitor/OSMemoryUsageMonitor.java?rev=709458&r1=709457&r2=709458&view=diff
==============================================================================
--- felix/sandbox/donsez/monitor.sample.usagemonitor/src/main/java/org/apache/felix/sandbox/monitor/sample/osmemmonitor/OSMemoryUsageMonitor.java
(original)
+++ felix/sandbox/donsez/monitor.sample.usagemonitor/src/main/java/org/apache/felix/sandbox/monitor/sample/osmemmonitor/OSMemoryUsageMonitor.java
Fri Oct 31 09:18:11 2008
@@ -77,7 +77,7 @@
 	}
 
 	public String[] getStatusVariableNames() {
-		return new String[] { MEMORY_FREE_VARIABLE_NAME };
+		return new String[] { MEMORY_FREE_VARIABLE_NAME, MEMORY_TOTAL_VARIABLE_NAME };
 	}
 
 



Mime
View raw message