Friday, October 31, 2008

How to run TCPMon with Command Line

If you need run TCPMon with Command Line this is all you have to do.

user@localhost$ java -cp <path-to-tcpmon-jar> org.apache.ws.commons.tcpmon.TCPMon

You can find more information on how configure it here.

2 comments:

Anonymous said...

now I see it..

Anonymous said...

Thanks for this post but I found it didn't work. Specifying the "-cp" parameter simply lead to "no class found" exceptions being thrown. Since you have a jar file, I found this command works better:

java -jar {path to JAR file}

In my case, this command worked beautifully:

java -jar tcpmon.jar