Last modified 10 years ago
Last modified on 04/30/09 17:45:31
Running dCache with JProbe
- crate a script /opt/d-cache/bin/jpp.sh:
#!/bin/sh # # JP_HOME=/opt/d-cache/jprobe602 JP_LAUNCHER=${JP_HOME}/bin/jplauncher JAVA=/opt/jdk1.5.0_18/bin/java ${JP_LAUNCHER} -jp_java="${JAVA}" -jp_function=performance -jp_collect_data="org.dcache.*.*():method,diskCacheV111.*.*():method" $* #
- set java in /opt/d-cache/config/dCacheSetup file to you script:
java="/opt/d-cache/bin/jpp.sh"
- restart the component which yo uwant to test
- connect to the runnig process with jprobe as to any jprobe session
- that's all