I need to monitor java application and I am using javamelody.
But the problem is, I have to get the data that javamelody has so I can show it in another screen. I know that javamelody store its rdd files in temp/javamelody directory, now I need to change the storage-directory to another path so I can get the data from that path.
How can I set the storage-directory of javamelody?
java -Djava.io.tmpdir=/new/tmp yourjar
(on Linux) or setting%TMP%
(on Windows) should do the trick. – Variatestorage-directory
, this looks like what you want. – Variate-Djavamelody.storage-directory=/some/dir
. – Variate