Author: norman Date: Fri Sep 1 14:09:21 2006 New Revision: 439483 URL: http://svn.apache.org/viewvc?rev=439483&view=rev Log: make it possible to call the memstat comand in RemoteManager which noel commits before
Modified: james/server/trunk/src/java/org/apache/james/remotemanager/RemoteManagerHandler.java Modified: james/server/trunk/src/java/org/apache/james/remotemanager/RemoteManagerHandler.java URL: http://svn.apache.org/viewvc/james/server/trunk/src/java/org/apache/james/remotemanager/RemoteManagerHandler.java?rev=439483&r1=439482&r2=439483&view=diff ============================================================================== --- james/server/trunk/src/java/org/apache/james/remotemanager/RemoteManagerHandler.java (original) +++ james/server/trunk/src/java/org/apache/james/remotemanager/RemoteManagerHandler.java Fri Sep 1 14:09:21 2006 @@ -352,6 +352,8 @@ return doEXPORTBAYESIANDATA(argument); } else if (command.equals(COMMAND_IMPORTBAYESIANDATA)) { return doIMPORTBAYESIANDATA(argument); + } else if (command.equals(COMMAND_MEMSTAT)) { + return doMEMSTAT(argument); } else if (command.equals(COMMAND_QUIT)) { return doQUIT(argument); } else if (command.equals(COMMAND_SHUTDOWN)) { @@ -616,6 +618,7 @@ out.println("addspam dir/mbox [directory/mbox] feed the BayesianAnalysisFeeder with the content of the directory or mbox file as SPAM"); out.println("exportbayesiandata [file] export the BayesianAnalysis data to a xml file"); out.println("importbayesiandata [file] import the BayesianAnalysis data from a xml file"); + out.println("memstat ([-gc]) shows memory usage. When called with -gc the garbage collector get called"); out.println("shutdown kills the current JVM (convenient when James is run as a daemon)"); out.println("quit close connection"); out.flush(); --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]