Using Java profiling tools for Java processes running on EV3Dev

Posted by Juan Antonio Breña Moral on December 5, 2015


the idea is the connection from Mac/Win/Linux to EV3Dev to monitor the execution of processes running in the JVM.

https://visualvm.java.net/

java 
-Dcom.sun.management.jmxremote=true 
-Dcom.sun.management.jmxremote.ssl=false 
-Dcom.sun.management.jmxremote.authenticate=false 
-Dcom.sun.management.jmxremote.port=7091 
-Djava.rmi.server.hostname=192.168.2.2 
-Djava.library.path=/usr/lib/jni/ 
-cp benchmark1-1.0-SNAPSHOT.jar:/usr/share/OpenCV/java/opencv-249.jar 
ev3dev.opencv.benchmark.OpenCVTest &
ssh -v -D 9696 root@192.168.2.2