감사합니다.
윈도우 서버 성능 수집 - typeperf 본문
typeperf를 사용하여 윈도우 서버 성능 수집
perfmon 보다 편리하게 사용이 가능하다.
typeperf 옵션
Option | Description |
---|---|
-? | Displays context-sensitive help. |
-f <CSV | TSV |
-cf <filename> | Specifies a file containing a list of performance counters to monitor, with one counter per line. |
-si <[[hh:]mm:]ss> | Specifies the sample interval. The default is one second. |
-o <filename> | Specifies the path for the output file, or the SQL database. The default is STDOUT (written to the command window). |
-q [object] | Display a list of installed counters (no instances). To list counters for one object, include the object name. ***EXAMPLE |
-qx [object] | Display a list of installed counters with instances. To list counters for one object, include the object name. |
-sc <samples> | Specifies the number of samples to collect. The default is to collect data until CTRL+C is pressed. |
-config <filename> | Specifies a settings file containing command options. |
-s <computer_name> | Specifies a remote computer to monitor if no computer is specified in the counter path. |
-y | Answer yes to all questions without prompting. |
예시)
typeperf "\Processor)_Total)\% Processor Time"
typeperf "\Processor(_Total)\% Processor time" "\Memory\Available KBytes" -si 1 -o perf.csv
=> 1초마다(-si 1) 두 가지 성능 데이터를 perf.csv 파일로(-o) 저장, -si 기본값은 1초
typeperf 에서 사용할 수 있는 성능 카운터를 파일로 저장하기
typeperf -qx -o counter.txt
'Microsoft > Operating Systems' 카테고리의 다른 글
원격 데스크톱 로그인이 귀찮다면... (0) | 2019.10.05 |
---|---|
윈도우 서버 성능 수집 - Get-Counter (0) | 2018.06.14 |
윈도우 서버 성능 수집 - perfmon (0) | 2018.06.14 |
Windows Time Service 디버그 로그 설정 (1) | 2018.02.23 |
Windows Server 2016 : Adobe Flash Player 설치 방법 (0) | 2018.02.12 |
Windows Server 2016 : Storage Spaces Direct : Get-ClusterHealthReport (0) | 2018.01.12 |
서비스 강제 종료 via Powershell (0) | 2017.12.15 |