윈도우 보조프로그램
PSR(Problem Steps Recorder) -성능 모니터링 및 분석 구현 또는 프로그램 사용이력.(2)
limitpig
2020. 7. 27. 17:18
Problems Step Recorder (PSR.exe) Command Line Options
Hi, We have tested the cmd option, if we use /stopevent, we must add a eventname after the option, or the whole cmd will be invalid, please note that the "eventname" can be any names as you want. we will inform you if we have any further new information
social.technet.microsoft.com
에서 가져온 PSR의 명령줄 내용이다.
psr.exe [/ start | / stop] [/ output <fullfilepath>] [/ sc (0 | 1)] [/ maxsc <값>]
[/ sketch (0 | 1)] [/ slides (0 | 1) ] [/ gui (o | 1)]
[/ arcetl (0 | 1)] [/ arcxml (0 | 1)] [/ arcmht (0 | 1)]
[/ stopevent <이벤트 이름>] [/ maxlogsize <값> ] [/ recordpid <pid>]
/ start : 녹화를 시작합니다. (출력 경로 플래그를 지정해야합니다)
/ stop : 녹화를 중지합니다.
/ SC : 캡처 스크린 샷 에 대한 기록 단계.
/ maxsc : 최근 화면 캡처의 최대 수입니다.
/ maxlogsize : (최대 로그 파일 크기 에 MB) 포장 전에 발생합니다.
/ gui : 제어 GUI를 표시합니다.
/ arcetl : 아카이브 출력 에 원시 ETW 파일 을 포함 시킵니다.
/ arcxml : 아카이브 출력에 MHT 파일 을 포함 합니다.
/ recordpid : 주어진 PID와 관련된 모든 동작을 기록합니다.
/ sketch : 스크린 샷이 저장되지 않은 경우 UI를 스케치 합니다.
/ slides : 슬라이드 쇼 HTML 페이지를 만듭니다.
/ output : 기록 세션의 저장 출력 에서 주어진 경로.
/ stopevent : 출력 파일이 생성 된 후 신호를 보내는 이벤트입니다.
PSR 사용 예 :
psr.exe
psr.exe / start / output fullfilepath.zip / sc1 / gui 0 / record <PID>
/ stopevent <eventname> / arcetl 1
psr.exe / start / output fullfilepath.xml / gui 0 / recordpid <PID>
/ stopevent <이벤트 이름>
psr.exe / start / output fullfilepath.xml / gui 0 / sc 1 / maxsc <number>
/ maxlogsize <value> / stopevent <eventname>
psr.exe / stop
참고 :
1. 출력 경로에는 디렉토리 경로 (예 : ' . \ file.xml ').
2. 출력 파일은 ZIP 파일 또는 XML 파일 일수 있습니다.
3. 출력이 ZIP이 아닌 경우 / arcxml / arcetl / arcmht / sc 등을 지정할 수 없습니다.