wiki:manuals/jprobe
Last modified 9 years ago Last modified on 04/30/09 17:45:31

Running dCache with JProbe

  1. 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" 
        $*
    
    #
    
  1. set java in /opt/d-cache/config/dCacheSetup file to you script:
    java="/opt/d-cache/bin/jpp.sh"
    
  1. restart the component which yo uwant to test
  2. connect to the runnig process with jprobe as to any jprobe session
  3. that's all