You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@uima.apache.org by cw...@apache.org on 2016/03/30 20:47:30 UTC

svn commit: r1737146 - /uima/sandbox/uima-ducc/trunk/uima-ducc-agent/src/main/java/org/apache/uima/ducc/agent/processors/LinuxNodeMetricsProcessor.java

Author: cwiklik
Date: Wed Mar 30 18:47:29 2016
New Revision: 1737146

URL: http://svn.apache.org/viewvc?rev=1737146&view=rev
Log:
UIMA-4835 added KB as units for memory when logging

Modified:
    uima/sandbox/uima-ducc/trunk/uima-ducc-agent/src/main/java/org/apache/uima/ducc/agent/processors/LinuxNodeMetricsProcessor.java

Modified: uima/sandbox/uima-ducc/trunk/uima-ducc-agent/src/main/java/org/apache/uima/ducc/agent/processors/LinuxNodeMetricsProcessor.java
URL: http://svn.apache.org/viewvc/uima/sandbox/uima-ducc/trunk/uima-ducc-agent/src/main/java/org/apache/uima/ducc/agent/processors/LinuxNodeMetricsProcessor.java?rev=1737146&r1=1737145&r2=1737146&view=diff
==============================================================================
--- uima/sandbox/uima-ducc/trunk/uima-ducc-agent/src/main/java/org/apache/uima/ducc/agent/processors/LinuxNodeMetricsProcessor.java (original)
+++ uima/sandbox/uima-ducc/trunk/uima-ducc-agent/src/main/java/org/apache/uima/ducc/agent/processors/LinuxNodeMetricsProcessor.java Wed Mar 30 18:47:29 2016
@@ -166,12 +166,12 @@ public class LinuxNodeMetricsProcessor e
                                         " OS Arch:" + osarch +
 					" CPU Count:" + cpuInfo.getAvailableProcessors() +
 					" CPU Load:" +cpuInfo.getCurrentLoad() +
-					" Posting Memory:"
+					" Posting Memory (KB):"
 					+ node.getNodeMetrics().getNodeMemory().getMemTotal()+
-					" Memory Free:"+node.getNodeMetrics().getNodeMemory().getMemFree()+
-					" Swap Total:"+node.getNodeMetrics().getNodeMemory().getSwapTotal()+
-					" Swap Free:"+node.getNodeMetrics().getNodeMemory().getSwapFree()+
-					" Low Swap Threshold Defined in ducc.properties:"+swapThreshold);
+					" Memory Free (KB):"+node.getNodeMetrics().getNodeMemory().getMemFree()+
+					" Swap Total (KB):"+node.getNodeMetrics().getNodeMemory().getSwapTotal()+
+					" Swap Free (KB):"+node.getNodeMetrics().getNodeMemory().getSwapFree()+
+					" Low Swap Threshold Defined in ducc.properties (KB):"+swapThreshold);
 			logger.trace(methodName, null, "... Agent "+node.getNodeIdentity().getName()+" Posting Users:"+
 					node.getNodeMetrics().getNodeUsersMap().size());
 			// Check if swap free is less than defined minimum threshold (check ducc.properties)