JProbe Installation, Recording and Analysis

Embed Size (px)

Citation preview

  • 8/12/2019 JProbe Installation, Recording and Analysis

    1/25

    Setting up Websphere profile on JProbe

    1. Open the jpconsole.sh from the bin directory on JProbe installation.

    2. Within the Configuration navigation pane, right clic and select !e"

    Configuration.

  • 8/12/2019 JProbe Installation, Recording and Analysis

    2/25

    #. $efine a !e" Configuration and provide a Configuration !ame. Clic !e%t.

  • 8/12/2019 JProbe Installation, Recording and Analysis

    3/25

    &. 'ention the (erver )*! directory and (erver !ame. Clic !e%t.

  • 8/12/2019 JProbe Installation, Recording and Analysis

    4/25

    +. 'ention the CategoryProgram !ame as -ptsvcs. (pecify the /pplication 0ilter

    as com.csc.pt.svc..3 and /ction as include.

    4. /lso specify the 5lement as the 5/6 file name of the ptsvcs pt&j3 application.Clic !e%t.

  • 8/12/2019 JProbe Installation, Recording and Analysis

    5/25

    7. (elect Performance /nalysis in /nalysis 8ype. 9eave the default values on

    :eneral tab. Clic on 0ilters.

  • 8/12/2019 JProbe Installation, Recording and Analysis

    6/25

    ;. 5nter the filter as com.csc.pt.svc..3 on the 0ilters tab and select /ction as

    -line. Clic !e%t.

  • 8/12/2019 JProbe Installation, Recording and Analysis

    7/25

  • 8/12/2019 JProbe Installation, Recording and Analysis

    8/25

    1>. Clic on (ave and *ntegrate. 8his "ill save the configuration in a settings file and

    start integrating the application server "ith JProbe.

    11. When prompted, provide the location and name of .jpl file.

  • 8/12/2019 JProbe Installation, Recording and Analysis

    9/25

    12. Provide the name and location of the start(erver?JProbe.sh file. 9eave the default

    unchanged. Clic on (ave.

  • 8/12/2019 JProbe Installation, Recording and Analysis

    10/25

    1#. Clic on Close Wi@ard.

  • 8/12/2019 JProbe Installation, Recording and Analysis

    11/25

    1&. Congratulations. 8he Websphere /pplication (erver Configuration is created and

    ready to 6un and Connect "ith JProbe.

  • 8/12/2019 JProbe Installation, Recording and Analysis

    12/25

    Run & Connect JProbe to the Application Server and record snapshot

    1. Once the connection is creation as sho"n in section above3, clic on 6un AConnect.

  • 8/12/2019 JProbe Installation, Recording and Analysis

    13/25

    2. 8he server startup begins as sho"n belo". 8he 'emory Pool "ill gro" to a pea

    and eventually stabili@e sho"ing that the server is started.

    #. Once the server startup is complete, the memory pool stabili@es.

    &. Clic on the icon "hen you are ready to start recording a snapshot.

    +. On the follo"ing screen, drag the bar to level + and Clic O.

  • 8/12/2019 JProbe Installation, Recording and Analysis

    14/25

    4. /fter your transaction completes, turn the recording O00 by dragging the barbac to position 1.

    7. Clic O and the snapshot is saved automatically and visible in the (napshots!avigation Pane, as sho"n belo"B

  • 8/12/2019 JProbe Installation, Recording and Analysis

    15/25

    ;. 6ename the snapshot and save it to a desired location.

  • 8/12/2019 JProbe Installation, Recording and Analysis

    16/25

    Installing JProbe Plugin for Eclipse and analyzing JProbe snapshots

    1. *nstall Java ($ 1.4.2. *nstall 5clipse #.#.2 or higher and run it on J65 4.

    #. *nstall JProbe Client.

    &. :o to httpB""".Duest.comjprobeand do"nload JProbe license file and JProbeplugins for 5clipse.

    +. En@ip the JProbe plugins into the plugins directory of 5clipse.

    4. Epdate the eclipse.ini file as F

    Gvm CBHProgram 0ilesHJavaHjre4HbinHjava" GGG (et to J65 4

    GvmargsGIms2+4m

    GIm%1>2&m

    G$jprobe.homeCBHProgram 0ilesHJProbe ;.# GGG Kour JProbe Lome directory

    7. (tart 5clipse. / JProbe menu item appears on the 'ain 'enu.;. (elect JProbe'anage 9icenses from the 'ain 'enu.

  • 8/12/2019 JProbe Installation, Recording and Analysis

    17/25

    1>. Create a JProbe project in 5clipse and copy the JProbe Performance snapGshots

    into that.

  • 8/12/2019 JProbe Installation, Recording and Analysis

    18/25

  • 8/12/2019 JProbe Installation, Recording and Analysis

    19/25

    12. Clic on the M*nvestigateN button at the bottom of the (ummary vie" after

    selecting the method to analy@e. 8he 'ethod vie" "ill appear displaying the

    performance statistics for the selected method.

  • 8/12/2019 JProbe Installation, Recording and Analysis

    20/25

    1#. /ttach the source using the M(ho" (ourceN or M(ho" 9ine $etailsN option and the

    statement causing the performance degradation in the selected method "ill be

    displayed.

  • 8/12/2019 JProbe Installation, Recording and Analysis

    21/25

  • 8/12/2019 JProbe Installation, Recording and Analysis

    22/25

    1&. (ort descending using the M5lapsed 'ethod 8imeN or M5lapsed Cumulative 8imeN

    columns and the "orst performing functions "ill be displayed.

  • 8/12/2019 JProbe Installation, Recording and Analysis

    23/25

    1+. (elect the function and the e%act location of it "ill be displayed in the upper

    "indo".

  • 8/12/2019 JProbe Installation, Recording and Analysis

    24/25

    14. $atabase Dueries can be vie"ed using the M(ho" (9 $etailsN option.

  • 8/12/2019 JProbe Installation, Recording and Analysis

    25/25

    17. (ort descending "ith the M5lapsed Cumulative timeN column in the upper "indo"

    and drill do"n through the methods to reach the one taing the most time.