activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dej...@apache.org
Subject activemq git commit: https://issues.apache.org/jira/browse/AMQ-5289 - memory % stat was removed from dstat command. Bring it back
Date Thu, 24 Mar 2016 11:15:13 GMT
Repository: activemq
Updated Branches:
  refs/heads/master c53b99c14 -> 0f4a9b78b


https://issues.apache.org/jira/browse/AMQ-5289 - memory % stat was removed from dstat command.
Bring it back


Project: http://git-wip-us.apache.org/repos/asf/activemq/repo
Commit: http://git-wip-us.apache.org/repos/asf/activemq/commit/0f4a9b78
Tree: http://git-wip-us.apache.org/repos/asf/activemq/tree/0f4a9b78
Diff: http://git-wip-us.apache.org/repos/asf/activemq/diff/0f4a9b78

Branch: refs/heads/master
Commit: 0f4a9b78b108311b59a0cecf0353b2b7256b0ef1
Parents: c53b99c
Author: Dejan Bosanac <dejan@nighttale.net>
Authored: Thu Mar 24 12:15:03 2016 +0100
Committer: Dejan Bosanac <dejan@nighttale.net>
Committed: Thu Mar 24 12:15:03 2016 +0100

----------------------------------------------------------------------
 .../apache/activemq/console/command/DstatCommand.java   | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/activemq/blob/0f4a9b78/activemq-console/src/main/java/org/apache/activemq/console/command/DstatCommand.java
----------------------------------------------------------------------
diff --git a/activemq-console/src/main/java/org/apache/activemq/console/command/DstatCommand.java
b/activemq-console/src/main/java/org/apache/activemq/console/command/DstatCommand.java
index aecba60..cebe693 100644
--- a/activemq-console/src/main/java/org/apache/activemq/console/command/DstatCommand.java
+++ b/activemq-console/src/main/java/org/apache/activemq/console/command/DstatCommand.java
@@ -81,8 +81,8 @@ public class DstatCommand extends AbstractJmxCommand {
         String query = JmxMBeansUtil.createQueryString(queryString, "*");
         List queueList = JmxMBeansUtil.queryMBeans(createJmxConnection(), query);
 
-        final String header = "%-50s  %10s  %10s  %10s  %10s  %10s  %10s";
-        final String tableRow = "%-50s  %10d  %10d  %10d  %10d  %10d  %10d";
+        final String header = "%-50s  %10s  %10s  %10s  %10s  %10s  %10s  %10s";
+        final String tableRow = "%-50s  %10d  %10d  %10d  %10d  %10d  %10d  %10d";
 
         // sort list so the names is A..Z
         Collections.sort(queueList, new ObjectInstanceComparator());
@@ -118,8 +118,8 @@ public class DstatCommand extends AbstractJmxCommand {
         String query = JmxMBeansUtil.createQueryString(queryString, "Queue");
         List queueList = JmxMBeansUtil.queryMBeans(createJmxConnection(), query);
 
-        final String header = "%-50s  %10s  %10s  %10s  %10s  %10s  %10s";
-        final String tableRow = "%-50s  %10d  %10d  %10d  %10d  %10d  %10d";
+        final String header = "%-50s  %10s  %10s  %10s  %10s  %10s  %10s  %10s";
+        final String tableRow = "%-50s  %10d  %10d  %10d  %10d  %10d  %10d  %10d";
 
         context.print(String.format(Locale.US, header, "Name", "Queue Size", "Producer #",
"Consumer #", "Enqueue #", "Dequeue #", "Forward #", "Memory %"));
 
@@ -154,8 +154,8 @@ public class DstatCommand extends AbstractJmxCommand {
         String query = JmxMBeansUtil.createQueryString(queryString, "Topic");
         List topicsList = JmxMBeansUtil.queryMBeans(createJmxConnection(), query);
 
-        final String header = "%-50s  %10s  %10s  %10s  %10s  %10s  %10s";
-        final String tableRow = "%-50s  %10d  %10d  %10d  %10d  %10d  %10d";
+        final String header = "%-50s  %10s  %10s  %10s  %10s  %10s  %10s  %10s";
+        final String tableRow = "%-50s  %10d  %10d  %10d  %10d  %10d  %10d  %10d";
 
         // sort list so the names is A..Z
         Collections.sort(topicsList, new ObjectInstanceComparator());


Mime
View raw message