Quantcast
Channel: 플래닛 NetBeans
Viewing all articles
Browse latest Browse all 64

Netbeans-Korean by 강여사: 윈도우 환경에서 자바 SE 6 에 대한 문제 해결(Troubleshooting) 가이트 팁(Quick Guide)

$
0
0

본 문서는 This "Quick Start Guide" gives you some quick tips for troubleshooting. The subsections list some typical functions that can help you in troubleshooting, including one or more ways to get the information or perform the action."퀵 스타트 가이드"로 문제 해결(troubleshooting)을 위한 몇 가지 빠른 도움말을 제공합니다. 즉, 정보를 얻기 위해 작업을 수행하거나 하나 이상의 방법을 포함한 문제 해결에 도움이되는 몇 가지 일반적인 기능을 나열합니다.

These tips are organized as follows:이러한 요령으로 구성은 다음과 같습니다 : (해당 주제별)

행(Hung), 데드락(Deadlocked), 또는 루핑(Looping) 프로세스

사후 진단, (Post-mortem Diagnostics)Post-mortem Diagnostics, Memory Leaks, 메모리 누수(Memory Leaks)

모니터링 ( jstat is not available on Windows 98 or Windows ME.) (jstat 윈도우 98이나 윈도우 ME에서 사용할 수없습니다.)

Note: The vmID argument for the jstat command is the virtual machine identifier. See the jstat man page 참고 : jstat 명령에 대한 인수는 가상 머신 vmID 식별자입니다. jstat man 페이지를 참조하십시오 for a detailed explanation.

자세한 설명

  • Print statistics on the class loader: 클래스 로더에 통계 출력 :
    • jstat -class vmID jstat -class vmID
  • Print statistics on the compiler: 컴파일러에 대한 통계 출력 :
    • Compiler behavior: jstat -compiler vmID 컴파일러 동작 : jstat -compiler vmID
    • Compilation method statistics: jstat -printcompilation vmID 컴파일 메소드에 대한 통계 : jstat - printcompilation vmID
  • Print statistics on garbage collection: 가비지 컬렉션에 통계 출력 :
    • Summary of statistics: jstat -gcutil vmID 요약 통계 : jstat -gcutil vmID
    • Summary of statistics, with causes: jstat -gccause vmID 오류 포함, 요약 통계 : jstat - gccause vmID
    • Behavior of the gc heap: jstat -gc vmID GC의 힙 동작(behavior) : jstat -gc vmID
    • Capacities of all the generations: jstat -gccapacity vmID 모든 generations 용량 : jstat -gccapacity vmID
    • Behavior of the new generation: jstat -gcnew vmID new generation 동작: jstat -gcnew vmID
    • Capacity of the new generation: jstat -gcnewcapacity vmID new generation 용량: jstat -gcnewcapacity vmID
    • Behavior of the old and permanent generations: jstat -gcold vmID old 와 permanent generations 동작: jstat -gcold vmID
    • Capacity of the old generation: jstat -gcoldcapacity vmID old generations 용량 : jstat -gcoldcapacity vmID
    • Capacity of the permanent generation: jstat -gcpermcapacity vmID permanent generations 용량: jstat -gcpermcapacity vmID
  • Monitor objects awaiting finalization: finalization를 기다리는 개체 모니터링:
    • JConsole tool, VM Summary tab JConsole 툴, VM 요약 탭
    • getObjectPendingFinalizationCount method in java.lang.management.MemoryMXBean class java.lang.management.MemoryMXBean 클래스 안에 있는getObjectPendingFinalizationCount 메소드
  • Monitor memory: 메모리 모니터 :
    • Heap allocation profiles via HPROF: java -agentlib:hprof=heap=sites HPROF를 통해 힙 할당 프로필(profiles) : java -agentlib:hprof=heap=sites
    • JConsole tool, Memory tab JConsole 툴, 메모리 탭
    • Control-Break prints generation information. Control – Break 는 generation 정보 출력
  • Monitor CPU usage: CPU 사용률 모니터 :
    • By thread stack: java -agentlib:hprof=cpu=samples application 쓰레드 스택 관련 : java -agentlib:hprof=cpu=samples application By method: java -agentlib:hprof=cpu=times application
    • 메소드 관련 : java -agentlib:hprof=cpu=times application
    • JConsole tool, Overview and VM Summary tabs JConsole 툴, 개요 및 VM을 요약 탭
  • Monitor thread activity: 쓰레드 활동 모니터 :
    • JConsole tool, Threads tab JConsole 툴, 쓰레드 탭
  • Monitor class activity: 클래스 액티비티 모니터 :
    • JConsole tool, Classes tab JConsole 툴, 클래스 탭

Other Functions 기타 기능


Viewing all articles
Browse latest Browse all 64

Trending Articles