ExCom Script
It is not strictly necessary to have a script to run ExCom. But it makes it more convenient to run. Save this as a file in your path, and call it “xc“. Change the /pathToJarFile to be the actual path to where you installed the JAR file. 2526 is the port number that the ExCom receiver is listening on. Make sure that you use the correct one here, the one you are using on your application setup.
#!/bin/sh java -Xmx512M -Xss48M -jar /pathToJarFile/excom-1.1.3.jar 2526 $@
It is then an easy matter to run ExCom. This is an example of requesting a garbage collection on your application.
> xc GC free memory before(768,830,792) after(837,579,784) reclaimed(68,748,992)
