profiling as java agent
Closed this issue · 0 comments
I'm using the riemann-jvm-profiler as javaagent.
I've added this in my server startup script
RIEMANN_OPTS="-javaagent:'/var/opt/lib/riemann-jvm-profiler-0.1.0-standalone.jar=host=riemannhost,port=5556,localhost-pid?=true,dt=10,load=0.03'"
JAVA_OPTS="${MONITORING_OPTS} ${RIEMANN_OPTS} "
After starting up the server. I see these in the log file
JAVA_OPTS: -server -XX:+UseCompressedOops - -XX:MaxPermSize=512m -Xms8192m -Xmx8192m -XX:+PrintGCDateStamps -XX:+PrintGCDetails -javaagent:'/var/opt/lib/riemann-jvm-profiler-0.1.0-standalone.jar=host=riemannhost,port=5556,localhost-pid?=true,dt=10,load=0.03'
However after running my test cases i don't see any profiling information sent to my riemannhost. riemann.log also looks empty. What is the best way to debug this.
I'm using jboss as my application server