|
If you run the application without stress, the data captured from that application will not show where there is room for improvements.
bin\jrcmd.exe <pid> jrarecording time=<jrarecording time> filename=<filename>
bin/jrcmd <pid> jrarecording time=<jrarecording time> filename=<filename>
jrarecording time-the duration of the recording in seconds (a good length is 300 seconds, i.e., five minutes).filename-the name of the file you want to save the recording to (for example jrarecording.xml.zip). The file will be created in the current directory of the JRockit process. It will be overwritten if it already exists.
For example:bin\jrcmd.exe <pid> jrarecording time=300 filename=c:\temp\jra.xml.zipStarts a JRA recording of 300s and stores the result in the specified file.
After the recording is initiated, BEA JRockit prints a message indicating that the recording has started. When the recording is done, it will print another message; it is now safe to shut down your application.
|