Dokumentation zu: PLMPerfSyslogParser_2012_01 (C) J.Feuerstein 
Erstellt: ~05.02.2012    A.Becker
Stand   : 10.06.2012    J.Fes


##############################################################################################################################
#Doc: Funktion 1: Via *.syslog File (Alex/J.Fes)
required Options:
-----------------

JobManagerCmdTools.exe 
  -Action                "PLMPerfSyslogParser_2012_01" 
  -SubAction             "ViaNxSyslog"
  -SyslogFindMask        #JobRoot_DP#\*.syslog           FindString for the SyslogFile, the first match will be used
  -ImportConfigXml       PLMPerfAnalyseImportConfig.xml  Path to the exported import configuration of the PLMPerformanceAnalyse Tool. The .XSD Schema definition is expected with the same name in the same folder.
  -ImportConfigName     "ConfigXYZ", "Name of the import configuration record to be used.
  -UserCount             determine the current user count (-1 will be saved if not set)
  -PDMPerfFile_DPNE      .\JobManagerV3\90-DATA\CustomerNameShort_WorkInst_TEST\12-Data\PDMPerf\PDMPerfResultData_NX75_Tc83.csv

Examples:
---------

-Action "PLMPerfSyslogParser_2012_01" -SubAction "ViaNxSyslog" -JobRoot_DP "C:\Users\Jopp\Desktop\Start+.Import\KBA\PdmPerfDaten\tc8w_PDMPerf_WUE_00391_KBA" -SyslogFindMask "C:\Users\Jopp\Desktop\Start+.Import\KBA\PdmPerfDaten\tc8w_PDMPerf_WUE_00391_KBA\JobTemp_PDMPerf_WueTc8w-Nx75-2tier\*.syslog" -ImportConfigXml "C:\Users\Jopp\Desktop\Start+.Import\KBA\PdmPerfDaten\tc8w_PDMPerf_WUE_00391_KBA\ImportConfig.xml" -ImportConfigName "PDMPerf_WueTc8w-Nx75-2tier" -JobData1ToProcessDoPrint
Result Codes:

#Doc: W&H 27.11.2012 S.Gueth
-Action "PLMPerfSyslogParser_2012_01" -SubAction "ViaNxSyslog" -JobRoot_DP "V:\JobManager\ProgEntw\Ver03\02-VB.NET\JobManager.CmdTools\10-src\JobManager.CmdTools\22.PLMPerfSyslogParser_2012_01\Example\PLMPerf-2012-11-27-13-07" -SyslogFindMask "V:\JobManager\ProgEntw\Ver03\02-VB.NET\JobManager.CmdTools\10-src\JobManager.CmdTools\22.PLMPerfSyslogParser_2012_01\Example\PLMPerf-2012-11-27-13-07\teepeju*.syslog" -ImportConfigXml "V:\JobManager\ProgEntw\Ver03\02-VB.NET\JobManager.CmdTools\10-src\JobManager.CmdTools\22.PLMPerfSyslogParser_2012_01\Example\PLMPerf-2012-11-27-13-07\ImportConfig.xml" -ImportConfigName "01-LG-WHLP8-[NX7.5-2tier]" -JobData1ToProcessDoPrint -ReturnResultCmdFile "V:\JobManager\ProgEntw\Ver03\02-VB.NET\JobManager.CmdTools\10-src\JobManager.CmdTools\22.PLMPerfSyslogParser_2012_01\Example\PLMPerf-2012-11-27-13-07\test.cmd" -LoadUpdCpu_SendMail_IFGT "1,02" -LoadUpdCpuReal_SendMail_IFGT "4,02" -TotalReal_SendMail_IFGT "3,02"
-Action "PLMPerfSyslogParser_2012_01" -SubAction "ViaNxSyslog" -JobRoot_DP "C:\temp\JobClient\PLMPerf-2014-07-22-19-27\01_TC83_NX752t_01-BG-AGG-Mod-01-A" -SyslogFindMask "C:\temp\JobClient\PLMPerf-2014-07-22-19-27\01_TC83_NX752t_01-BG-AGG-Mod-01-A\infodba*.syslog" -ImportConfigXml "C:\temp\JobClient\PLMPerf-2014-07-22-19-27\01_TC83_NX752t_01-BG-AGG-Mod-01-A\ImportConfig.xml" -ImportConfigName "01_TC83_NX752t_01-BG-AGG-Mod-01-A" -ReturnResultCmdFile "C:\temp\JobClient\PLMPerf-2014-07-22-19-27\01_TC83_NX752t_01-BG-AGG-Mod-01-A\PLMPerfResult_Vaules.cmd" -TotalReal_SendMail_IFGT "180,00" -LoadUpdCpuReal_SendMail_IFGT "180,00" -LoadUpdCpu_SendMail_IFGT "180,00" -pause -verbose -pauseOnEnd
-Action "PLMPerfSyslogParser_2012_01" -SubAction "ViaNxSyslog" -JobRoot_DP "C:\temp\JobClient\PLMPerf-2014-07-22-21-19\01-TC83_[NX7.5-2tier]_BG-AGG-Mod-01_A" -SyslogFindMask "C:\temp\JobClient\PLMPerf-2014-07-22-21-19\01-TC83_[NX7.5-2tier]_BG-AGG-Mod-01_A\infodba*.syslog" -ImportConfigXml "C:\temp\JobClient\PLMPerf-2014-07-22-21-19\01-TC83_[NX7.5-2tier]_BG-AGG-Mod-01_A\ImportConfig.xml" -ImportConfigName "01-TC83_[NX7.5-2tier]_BG-AGG-Mod-01_A" -ReturnResultCmdFile "C:\temp\JobClient\PLMPerf-2014-07-22-21-19\01-TC83_[NX7.5-2tier]_BG-AGG-Mod-01_A\PLMPerfResult_Vaules.cmd" -TotalReal_SendMail_IFGT "180,00" -LoadUpdCpuReal_SendMail_IFGT "180,00" -LoadUpdCpu_SendMail_IFGT "180,00" -pauseOnEnd


New: 2.1221;14.12.2015;S.Gueth
-Action PLMPerfSyslogParser_2012_01 -SubAction ViaNxSyslog -JobRoot_DP V:\CustomersDataL\tbvc\2015-12-14-ExampleData\tcmig_PLMPerf_TDS_TC10_Nx10_4Tier_02481_VC -SyslogFindMask V:\CustomersDataL\tbvc\2015-12-14-ExampleData\tcmig_PLMPerf_TDS_TC10_Nx10_4Tier_02481_VC\JobTemp_01-TDS-TC10_NX10-4tier\sa.cad.tcservice*.syslog -ImportConfigXml V:\CustomersDataL\tbvc\2015-12-14-ExampleData\tcmig_PLMPerf_TDS_TC10_Nx10_4Tier_02481_VC\JobTemp_01-TDS-TC10_NX10-4tier\ImportConfig.xml -ImportConfigName 01-TDS-TC10_NX10-4tier -ReturnResultCmdFile V:\CustomersDataL\tbvc\2015-12-14-ExampleData\tcmig_PLMPerf_TDS_TC10_Nx10_4Tier_02481_VC\JobTemp_01-TDS-TC10_NX10-4tier\PLMPerfResult_Vaules.cmd -TotalReal_SendMail_IFGT  -LoadUpdCpuReal_SendMail_IFGT  -LoadUpdCpu_SendMail_IFGT  -JobData1ToProcessDoPrint -JobData2ResultsDoPrint -JobParaDoPrint -pauseonend

-Action PLMPerfSyslogParser_2012_01 -SubAction ViaNxSyslog -JobRoot_DP V:\CustomersDataL\SiHC\2016-07-14-ExampleData\tctest_PLMPerf_Glagow_00001_SiHc -SyslogFindMask V:\CustomersDataL\SiHC\2016-07-14-ExampleData\tctest_PLMPerf_Glagow_00001_SiHc\JobTemp_09-GLA-TC11_NX10-4tier\admitcte*.syslog -ImportConfigXml V:\CustomersDataL\SiHC\2016-07-14-ExampleData\tctest_PLMPerf_Glagow_00001_SiHc\JobTemp_09-GLA-TC11_NX10-4tier\ImportConfig.xml -ImportConfigName 01-ERL-TC11_NX10-4tier -ReturnResultCmdFile V:\CustomersDataL\SiHC\2016-07-14-ExampleData\tctest_PLMPerf_Glagow_00001_SiHc\JobTemp_09-GLA-TC11_NX10-4tier\PLMPerfResult_Vaules.cmd -TotalReal_SendMail_IFGT  -LoadUpdCpuReal_SendMail_IFGT  -LoadUpdCpu_SendMail_IFGT  -JobData1ToProcessDoPrint -JobData2ResultsDoPrint -JobParaDoPrint -pauseonend


New: 3.1230;23.01.2016;J.Fes
-Action PLMPerfSyslogParser_2012_01 -SubAction ViaNxSyslog -JobRoot_DP  -SyslogFindMask #JobRoot_DP#\srv_jobmanager*.syslog -ImportConfigXml #JobRoot_DP#\ImportConfig.xml -ImportConfigName 03-Wue-4tier_clc-Test -ReturnResultCmdFile #JobRoot_DP#\PLMPerfResult_Vaules.cmd -TotalReal_SendMail_IFGT  -LoadUpdCpuReal_SendMail_IFGT  -LoadUpdCpu_SendMail_IFGT  -JobData1ToProcessDoPrint -JobData2ResultsDoPrint -JobParaDoPrint -verbose -pauseOnEnd
-Action PLMPerfSyslogParser_2012_01 -SubAction ViaNxSyslog -JobRoot_DP V:\CustomersDataL\KBA\2016-01-23-ExampleData\tc10k_PLMPerf100_WUE_01277_KBA -SyslogFindMask #JobRoot_DP#\JobTemp_03-Wue-4tier_clc-Test\srv_jobmanager*.syslog -ImportConfigXml #JobRoot_DP#\JobTemp_03-Wue-4tier_clc-Test\ImportConfig.xml -ImportConfigName 03-Wue-4tier_clc-Test -ReturnResultCmdFile #JobRoot_DP#\JobTemp_03-Wue-4tier_clc-Test\PLMPerfResult_Vaules.cmd -TotalReal_SendMail_IFGT  -LoadUpdCpuReal_SendMail_IFGT  -LoadUpdCpu_SendMail_IFGT  -JobData1ToProcessDoPrint -JobData2ResultsDoPrint -JobParaDoPrint -verbose -pauseOnEnd

#New: 3.1502;14.10.2020;J.Fes
-Action PLMPerfSyslogParser_2012_01 -SubAction ViaNxSyslog -JobRoot_DP "V:\CustomersDataL\KBA\2016-01-01-Tech\2016-01-23-ExampleData\tc10k_PLMPerf100_WUE_01277_KBA" -SyslogFindMask "#JobRoot_DP#\JobTemp_03-Wue-4tier_clc-Test\srv_jobmanager*.syslog" -ImportConfigXml "#JobRoot_DP#\JobTemp_03-Wue-4tier_clc-Test\ImportConfig.xml" -ImportConfigName *03-Wue*[AC]*4tier_clc-Test -ReturnResultCmdFile #JobRoot_DP#\JobTemp_03-Wue-4tier_clc-Test\PLMPerfResult_Vaules.cmd -TotalReal_SendMail_IFGT  -LoadUpdCpuReal_SendMail_IFGT  -LoadUpdCpu_SendMail_IFGT  -JobData1ToProcessDoPrint -JobData2ResultsDoPrint -JobParaDoPrint -verbose -pauseOnEnd
-Action PLMPerfSyslogParser_2012_01 -SubAction ViaNxSyslog -JobRoot_DP "V:\CustomersDataL\KBA\2016-01-01-Tech\2016-01-23-ExampleData\tc10k_PLMPerf100_WUE_01277_KBA" -SyslogFindMask "#JobRoot_DP#\JobTemp_03-Wue-4tier_clc-Test\srv_jobmanager*.syslog" -ImportConfigXml "#JobRoot_DP#\JobTemp_03-Wue-4tier_clc-Test\ImportConfig.xml" -ImportConfigName "*03-Wue*[A*C*4tier_clc-Test" -ReturnResultCmdFile #JobRoot_DP#\JobTemp_03-Wue-4tier_clc-Test\PLMPerfResult_Vaules.cmd -TotalReal_SendMail_IFGT  -LoadUpdCpuReal_SendMail_IFGT  -LoadUpdCpu_SendMail_IFGT  -JobData1ToProcessDoPrint -JobData2ResultsDoPrint -JobParaDoPrint -verbose -pauseOnEnd -test

#New: 3.1502;02.03.2021;S.Gueth
-Action "PLMPerfSyslogParser_2012_01" -SubAction "ViaNxSyslog" 
-JobRoot_DP "V:\CustomersDataL\TBVC\2021-03-02-ExampleData\tcprod02_PLMPerf_NT_TC10_Nx10_4Tier_92603_VC" 
-SyslogFindMask "V:\CustomersDataL\TBVC\2021-03-02-ExampleData\tcprod02_PLMPerf_NT_TC10_Nx10_4Tier_92603_VC\JobTemp_06-NT-4tier\sa.cad.tcservice*.syslog" 
-ImportConfigXml "V:\CustomersDataL\TBVC\2021-03-02-ExampleData\tcprod02_PLMPerf_NT_TC10_Nx10_4Tier_92603_VC\JobTemp_06-NT-4tier\ImportConfig.xml" 
-ImportConfigName "06-NT-4tier" -ReturnResultCmdFile "V:\CustomersDataL\TBVC\2021-03-02-ExampleData\tcprod02_PLMPerf_NT_TC10_Nx10_4Tier_92603_VC\JobTemp_06-NT-4tier\PLMPerfResult_Vaules.cmd" 
-TotalReal_SendMail_IFGT "-1" -LoadUpdCpuReal_SendMail_IFGT "-1" -LoadUpdCpu_SendMail_IFGT "-1" 
-ShellExecProg_DPNE "java" -ShellExecArguments " 
-jar \\tdssrv001\JobManagerV3\90-DATA\VC_SettingsGlobal\10-JobScripts\NxPLMPerfClientV3\Bin\ListUsers4tier.jar -url http://tdscad022.global.dir:10071/p02_if -username jobmanager -password jobmanager" -JobData1ToProcessDoPrint -JobData2ResultsDoPrint -JobParaDoPrint



-------------
Result Msg Search Texte:
------------------------

##############################################################################################################################
#Doc: Funktion 2: Via CheckBox  (J.Fes)

required Options:
-----------------

JobManagerCmdTools.exe 
  -Action                   "PLMPerfSyslogParser_2012_01" 
  -SubAction                "ViaNxCB" 
  -JobRoot_DP               "C:\temp\JobClient\Tc83_Perf_00044_CustomerNameShort"
  -CBPara_result            "#JobRoot_DP#\_CgmToTif\zzExportCGM_Result.csv"                #Doc: File contains CheckBox executions result informations.\n#Doc: File has csv format.
  -UserCount                 determine the current user count (-1 will be saved if not set)
  -PDMPerfFile_DPNE          .\JobManagerV3\90-DATA\CustomerNameShort_WorkInst_TEST\12-Data\PDMPerf\PDMPerfResultData_NX75_Tc83.csv
  -JobData1ToProcessDoPrint (Optional)
  -JobData2ResultsDoPrint   (Optional)

Examples:
---------
-Action "PLMPerfSyslogParser_2012_01" -SubAction "ViaNxCB" -JobRoot_DP "V:\JobManager\ProgEntw\Ver03\02-VB.NET\JobManager.CmdTools\10-src\JobManager.CmdTools\22.PLMPerfSyslogParser_2012_01\Example\tc8w_PDMPerf_WUE_00207_KBA" -CBPara_result "#JobRoot_DP#\zzResultData_NX75.csv" -UserCount -PDMPerfFile_DPNE "#JobRoot_DP#\PDMPerfResultData_NX75_Tc83.csv" -JobData1ToProcessDoPrint -JobData2ResultsDoPrint -test -debug

Result Codes:
-------------
Result Msg Search Texte:
------------------------


##############################################################################################################################
#Doc: Funktion 3: ViaCustomProg (S.Gueth)
required Options:
-----------------

JobManagerCmdTools.exe 
  -Action               "PLMPerfSyslogParser_2012_01" 
  -SubAction            "ViaCustomProg"
  -JobRoot_DP           "C:\temp\JobClient\Tc83_Perf_00044_CustomerNameShort"             #Doc: optional: only need in JobMgr context
  -JobTemp_DP           "C:\temp"                                                         #Doc: optional: if defined, std and err output will be written into this directory
  -ImportConfigXml      PLMPerfAnalyseImportConfig.xml                                    #Doc: Path to the exported import configuration of the PLMPerformanceAnalyse Tool. The .XSD Schema definition is expected with the same name in the same folder.
  -ImportConfigName     "ConfigXYZ"                                                       #Doc: Name of the import configuration record to be used.
  -ShellExecProg_DPNE   "prog.exe"
  -ShellExecArguments   " -arg1=1 -arg2=2"
  -ShellMaxDurationSEC  "60"


Example: #New: 3.1800;26.10.2023;S.Gueth : test without JobManager context

-Action                   PLMPerfSyslogParser_2012_01 
-SubAction                ViaCustomProg
-ImportConfigXml          V:\JobManager\ProgEntw\Ver03\PLMPerfV3\01-PLMPerf.Custom\ImportConfig.xml
-ImportConfigName         CustProgImpTest
-JobTemp_DP               C:\i\plmperftest
-ShellExecProg_DPNE       powershell.exe
-ShellExecArguments       "  -command Test-Connection google.de -Count 10 -Delay 2"
-JobData1ToProcessDoPrint 
-JobData2ResultsDoPrint 
-pauseonend




##############################################################################################################################
#Doc: Funktion 3: Custom01_BOMExpand (S.Gueth)
required Options:
-----------------

JobManagerCmdTools.exe 
  -Action               "PLMPerfSyslogParser_2012_01" 
  -SubAction            "ViaCustom01BOMExpand"
  -JobRoot_DP           "C:\temp\JobClient\Tc83_Perf_00044_CustomerNameShort"
  -JobTemp_DP           "C:\temp\JobClient\Tc83_Perf_00044_CustomerNameShort\JobTemp"
  -ImportConfigXml      PLMPerfAnalyseImportConfig.xml                                    #Doc: Path to the exported import configuration of the PLMPerformanceAnalyse Tool. The .XSD Schema definition is expected with the same name in the same folder.
  -ShellExecProg_DPNE   "java"															  #Doc: Full Path to java.exe file
  -ShellExecArguments   " -recursive"                                                     #Doc: optional, use only for optional parameter -recursive, (default traversal of BOMExpand is one level)
  -ShellMaxDurationSEC  "-1"
  -BOMExpandJarFile_DPNE "c:\i\BOMExpand.jar"                                             #Doc: defines the jar filefor bom expand process
  -BOMExpandLog_DPNE    "#JobRoot_DP#/JobTemp/BOMExpand.log"                              #Doc: Full path, where BOMExpand log file should be stored
  -BOMExpandRevRule     "Latest Working"                                                  #Doc: TEamCenter Revision Rule, that should be used by BOMExpand.exe
  -ImportConfigNameTCLogin "MCH_TCLogIn"                                                  #Doc: Import config name of configuration in PLMPerformanceAnalyse Tool, where TC Log In time should be connected to
  -ImportConfigNameBOMExpand "MCH_BOMExpand"                                              #Doc: Import config name of configuration in PLMPerformanceAnalyse Tool, where BOM Expand time should be connected to
  -u "TCUser"
  -p "TCPassword"
  -g "dba"

  
##############################################################################################################################
#Doc: Funktion 5: ViaNxSyslogPLMPerfImportConfigKeys (A.Stein)
required Options:
-----------------

JobManagerCmdTools.exe 
  -Action               "PLMPerfSyslogParser_2012_01" 
  -SubAction            "ViaNxSyslogPLMPerfImportConfigKeys"
  -JobRoot_DP           "V:\CustomersDataL\ALPLA\2022-05-23-ExampleData\Job"
  -JobTemp_DP           "V:\CustomersDataL\ALPLA\2022-05-23-ExampleData\Job\JobTemp"
  -SyslogFindMask        "#JobTemp_DP#\*.syslog"
  -ImportConfigXml       "#JobRoot_DP#\ImportConfig.xml"

#New: 3.1601;17.06.2022;J.Fes
  -Action               "PLMPerfSyslogParser_2012_01" 
  -SubAction            "ViaNxSyslogPLMPerfImportConfigKeys"
  -JobRoot_DP           "V:\CustomersDataL\ALPLA\2022-06-17-ExampleData\TC12_Prod_PLMPerfSC02_WorkSim_MEX_00007_ALP"
  -JobTemp_DP           "#JobRoot_DP#\JobTmp_01"
  -SyslogFindMask       "#JobRoot_DP#\JobTmp_01\*.syslog"
  -ImportConfigXml      "#JobRoot_DP#\JobTmp_01\ImportConfig.xml"
  -JobData1ToProcessDoPrint
  -JobData2ResultsDoPrint
  -JobParaDoPrint
  -PauseOnEnd
  -Verbose


#New: 3.1601;17.06.2022;J.Fes
  -Action               "PLMPerfSyslogParser_2012_01" 
  -SubAction            "ViaNxSyslog"
  -JobRoot_DP           "V:\CustomersDataL\FAIST\2023-12-18-ExampleData\TCFAIPrd_PLMPerf1SC01_NXLoad_03536_FAIST"
  -JobTemp_DP           "#JobRoot_DP#\JobTmp_01"
  -SyslogFindMask       "#JobRoot_DP#\JobTmp_01\*.syslog"
  -ImportConfigXml      "#JobRoot_DP#\JobTmp_01\ImportConfig.xml"
  -IgnoreMultipleLoggedInUsers
  -JobData1ToProcessDoPrint
  -JobData2ResultsDoPrint
  -JobParaDoPrint
  -PauseOnEnd
  -Verbose

#New: 3.2000;18.11.2024;J.Fes
-Action               "PLMPerfSyslogParser_2012_01" 
-SubAction            "ViaNxSyslogForPPA"
-JobData1ToProcessAutoRead false
-JobRoot_DP           "V:\CustomersDataL\addPLM\2024-11-18-ExampleData\TC11ADDPLM_NXLoad01_00007"
-JobTemp_DP           "#JobRoot_DP#\JobT_P01"
-SyslogFindMask       "#JobRoot_DP#\JobT_P01\*.syslog"
-JobData1ToProcessDoPrint false
-JobData2ResultsDoPrint false
-JobParaDoPrint
-PauseOnEnd
-Verbose

#New: 3.2000;25.11.2024;J.Fes
-Action               "PLMPerfSyslogParser_2012_01" 
-SubAction            "TCGetUserCountForPPA"
-JobData1ToProcessAutoRead false
-JobRoot_DP           "V:\CustomersDataL\addPLM\2024-11-25-ExampleData\TC11ADDPLM_NXLoad02_0017684"
-JobTemp_DP           "#JobRoot_DP#\JobT_P01"
-JobData1ToProcessDoPrint false
-JobData2ResultsDoPrint false
-JobParaDoPrint
-PauseOnEnd
-Verbose

