일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | |||||
3 | 4 | 5 | 6 | 7 | 8 | 9 |
10 | 11 | 12 | 13 | 14 | 15 | 16 |
17 | 18 | 19 | 20 | 21 | 22 | 23 |
24 | 25 | 26 | 27 | 28 | 29 | 30 |
- SQL Server 2008
- windows media service
- dsquery
- Hyper-V
- 클러스터
- 안철수
- Local TempDB
- failover cluster
- FTP7.5
- windows update
- 작업관리자
- cluster node as Domain controller
- ftp7.5 장애조치 클러스터
- 터키여행
- Windows Server 2016 Hyper-v Cluster
- Windows Server 2008
- Xperf
- windows debugging tool
- Nested VM
- SQL Server 2012R2 FCI
- iSCSI target
- nonpaged pool
- MSCS on VMWare
- 인문고전
- Session space
- paged pool
- 프로세스 CPU 사용량
- windbg
- LiveKD
- Windows Server 2016
- Today
- Total
류짱:Beyond MySelf
Kernrate를 이용한 프로세서의 CPU 사용률 확인 방법 본문
지난 번에 특정 프로세스의 CPU 사용률 확인 방법으로 Qslice(http://ryuchan.kr/88)라는 프로그램에 대해서 알아 보았는데요 이번에 Kernrate 라는 프로그램을 이용하여 특정 프로세스의 CPU 사용률과 I/O등을 확인 하는 방법을 소개 하도록 하겠습니다.
해당 툴은 windows server 2003 resource kit tool에 포함 되어 있습니다 . 아래 사이트에서 다운 받아서 설치 하시기 바랍니다.
http://www.microsoft.com/downloads/details.aspx?familyid=9d467a69-57ff-4ae7-96ee-b18c4790cffd&displaylang=en
Kernrate Usage Guide
Purpose
Kernrate is a sample profiling tool meant to help identify primarily where CPU time is being spent. Both Kernel and user mode processes can be profiled separately or simultaneously. With proper support, Kernrate can also be used to profile CPU events (sources) other than time, depending on the CPU type.
Supported OS Platforms
The version of Kernrate documented here will run under Windows 2000, Windows XP and Windows Server 2003.
Supported Hardware
The version of Kernrate documented here supports Intel x86 processors (Pentium and above), AMD equivalent processors as well as Intel 64 bit and AMD 64 bit platforms. The “Time” source is supported on all platforms. The degree of support for sources other than “Time” varies, depending on the amount of HAL support for the counters available with each processor type.
When To Use Kernrate
1. Use Kernrate for preliminary identification of CPU usage patterns and CPU hogs down to API level (and even down to code sections within API’s to a limited extent).
2. Use Kernrate for identifying specific CPU issues with profile sources other than the default (Time).
3. Use Kernrate to measure the effect of code changes and performance improvements on CPU usage.
4. There is little point in using Kernrate in cases where the bottleneck is not CPU related (low CPU usage), although the system-wide and process-specific summaries as well as lock information provided by Kernrate could help in initial identification of the culprits.
Windows server 2003 리소스 킷 설치 후 해당 디렉토리로 이동 후 아래의 명령어를 입력하면 다양한 옵션과 함께 명령어를 실행 할 수 있습니다.
kernrate -?”or “kernrate -h
[참고 자료]
http://micingamja.egloos.com/2845969
http://kingofbytes.wordpress.com/2009/05/17/where-in-the-world-is-kernrate-exe-for-amd64-x64/
감사합니다.