> java 실행시 " -agentlib:jpa64=instructions=1 " 옵션추가
 > tprof -ujeskzl -N -x sleep 60 
        => sleep.prof 파일 생성

       -e : Turns on kernel extension profiling.
       -j : Turns on Java classes and methods profiling.
       -k : Enables kernel profiling.
       -l : Enables long names reporting. By default tprof truncates the subroutine, program and
            source file names if they do not fit into the available space in the profiling report.
            This flag disables truncation.
       -s : Enables shared library profiling.
       -u : Enables user mode profiling.
       -z : Turns on ticks report. Enables compatibility mode with the previous version of tprof. By
            default processor usage is only reported in percentages. When -z is used, tprof also
            reports ticks. This flag also adds the Address and Bytes columns in subroutine reports.
            If you specify the -z flag with the -a flag, the process summary section in the report
            displays numbers rather than percentages.

       -p processlist
           : Enables process level profiling of the process names specified in the processlist.
             processlist is a comma separated list of process names
             Process level profiling is enabled only if at least one of the profiling modes (-u,-s,-
             k,-e, or -j) is turned on.
       -t : Enables thread level profiling.
            If -p or -P are not specified with the -t flag, -t is equivalent to -P all -t.
            Otherwise, it enables thread level reporting for the selected processes. Thread level
            profiling is enabled only if at least one of the profiling modes (-u,-s,-k,-e, -j) is
            enabled.
       -X : Specifies the tprof command to call XML Generator when the tprof profiling is finished,
            and to generate the XML report directly from the tprof trace and symlib data.
            The -X option needs Java. Install the Java first, and make sure Java is in PATH.

'IBM JVM' 카테고리의 다른 글

IBM JVM 정리한 파일...  (0) 2012.08.14
블로그 이미지

Melting

,