org.apache.activemq.console.command
Class DstatCommand

java.lang.Object
  extended by org.apache.activemq.console.command.AbstractCommand
      extended by org.apache.activemq.console.command.AbstractJmxCommand
          extended by org.apache.activemq.console.command.DstatCommand
All Implemented Interfaces:
Command

public class DstatCommand
extends AbstractJmxCommand


Field Summary
protected  String[] helpFile
           
 
Fields inherited from class org.apache.activemq.console.command.AbstractJmxCommand
DEFAULT_JMX_URL
 
Fields inherited from class org.apache.activemq.console.command.AbstractCommand
COMMAND_OPTION_DELIMETER, context
 
Constructor Summary
DstatCommand()
           
 
Method Summary
 String getName()
           
 String getOneLineDescription()
           
protected  void printHelp()
          Print the help messages for this command
protected  void runTask(List<String> tokens)
          Execute the dstat command, which allows you to display information for topics or queue in a tabular format.
 
Methods inherited from class org.apache.activemq.console.command.AbstractJmxCommand
closeJmxConnection, createJmxConnection, execute, findJMXUrlByProcessId, getJmxPassword, getJmxServiceUrl, getJmxUser, getJVM, handleOption, isJmxUseLocal, isSunJVM, setJmxPassword, setJmxServiceUrl, setJmxServiceUrl, setJmxUseLocal, setJmxUser, useJmxServiceUrl
 
Methods inherited from class org.apache.activemq.console.command.AbstractCommand
parseOptions, setCommandContext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

helpFile

protected String[] helpFile
Constructor Detail

DstatCommand

public DstatCommand()
Method Detail

runTask

protected void runTask(List<String> tokens)
                throws Exception
Execute the dstat command, which allows you to display information for topics or queue in a tabular format.

Specified by:
runTask in class AbstractCommand
Parameters:
tokens - - command arguments
Throws:
Exception

getName

public String getName()

getOneLineDescription

public String getOneLineDescription()

printHelp

protected void printHelp()
Print the help messages for this command

Specified by:
printHelp in class AbstractCommand


Copyright © 2005–2013 The Apache Software Foundation. All rights reserved.