Professional Documents
Culture Documents
1. Open the jpconsole.sh from the bin directory on JProbe installation. 2. Within the Configuration navigation pane, right clic and select !e" Configuration.
&. 'ention the (erver )*! directory and (erver !ame. Clic !e%t.
+. 'ention the Category,Program !ame as -ptsvcs.. (pecify the /pplication 0ilter as com.csc.pt.svc.1.123 and /ction as include. 4. /lso specify the 5lement as the 5/6 file name of the ptsvcs 2pt&j3 application. Clic !e%t.
7. (elect Performance /nalysis in /nalysis 8ype. 9eave the default values on :eneral tab. Clic on 0ilters.
;. 5nter the filter as com.csc.pt.svc.1.123 on the 0ilters tab and select /ction as -line.. Clic !e%t.
<. 9eave the Port= unchanged and provide a (napshot )asename 2optional3. Clic !e%t.
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.
12. Provide the name and location of the start(erver?JProbe.sh file. 9eave the default unchanged. Clic on (ave.
1&. Congratulations. 8he Websphere /pplication (erver Configuration is created and ready to 6un and Connect "ith JProbe.
Run & Connect JProbe to the Application Server and record snapshot
1. Once the connection is creation 2as sho"n in section above3, clic on 6un A Connect.
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.
&. 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 .
4. /fter your transaction completes, turn the recording O00 by dragging the bar bac to position 1.
7. Clic O and the snapshot is saved automatically and visible in the (napshots !avigation Pane, as sho"n belo"B
<. 8he ne%t section sho"s ho" to analy@e the snapshot using 5clipse and understand the performance problems.
<. /dd the do"nloaded 9icense file by clic ing on the M/dd 9icenseN button.
1>. Create a JProbe project in 5clipse and copy the JProbe Performance snapGshots into that.
11. Open JProbe perspective in 5clipse and select any JProbe Performance snapGshot for analysis.
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.
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.
1&. (ort descending using the M5lapsed 'ethod 8imeN or M5lapsed Cumulative 8imeN columns and the "orst performing functions "ill be displayed.
1+. (elect the function and the e%act location of it "ill be displayed in the upper "indo".
14. $atabase Dueries can be vie"ed using the M(ho" (O9 $etailsN option.
17. (ort descending "ith the M5lapsed Cumulative timeN column in the upper "indo" and drill do"n through the methods to reach the one ta ing the most time.