Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- SET counterName=1C_CounterCommon
- SET filePath=%systemdrive%\PerfLogs\1C\
- SET filePrefix=%counterName%
- SET fullPath=%filePath%\%filePrefix%
- logman stop -n %counterName%
- logman delete -n %counterName%
- logman create counter -n %counterName% -o "%fullPath%" -cnf 24:00:00 -r -f bin -si 1 -v mmddhhmm -c "\Memory(_Total)\Available Mbytes" "\Memory(_Total)\Pages/sec" "\Processor Information(_Total)\%% Processor Time" "\Processor Information(_Total)\%% Idle Time" "\Processor Information(_Total)\%% of Maximum Frequency" "\Processor Information(_Total)\Processor Frequency" "\Processor Information(_Total)\%% Performance Limit" "\Processor Information(_Total)\%% Privileged Time" "\Processor Information(_Total)\%% Interrupt Time" "\Processor Information(_Total)\%% User Time" "\Processor Information(_Total)\%% C1 Time" "\Processor Information(_Total)\%% C2 Time" "\Processor Information(_Total)\%% C3 Time" "\System(_Total)\Processor Queue Length" "\LogicalDisk(_Total)\Free Megabytes" "\PhysicalDisk(_Total)\Avg. Disk Queue Length" "\PhysicalDisk(*)\Avg. Disk Queue Length" "\PhysicalDisk(_Total)\%% Idle Time" "\PhysicalDisk(*)\Avg. Disk Bytes/Read" "\PhysicalDisk(*)\Avg. Disk Bytes/Write" "\PhysicalDisk(*)\Avg. Disk sec/Transfer" "\PhysicalDisk(*)\Avg. Disk sec/Write" "\PhysicalDisk(*)\Avg. Disk sec/Read" "\Network Interface(*)\Bytes Total/sec" "\Process("1cv8*")\%% Processor Time" "\Process("1cv8*")\Private Bytes" "\Process("1cv8*")\Virtual Bytes" "\Process("ragent*")\%% Processor Time" "\Process("ragent*")\Private Bytes" "\Process("ragent*")\Virtual Bytes" "\Process("rphost*")\%% Processor Time" "\Process("rphost*")\Private Bytes" "\Process("rphost*")\Virtual Bytes" "\Process("rmngr*")\%% Processor Time" "\Process("rmngr*")\Private Bytes" "\Process("rmngr*")\Virtual Bytes" "\Process("wbengine*")\%% Processor Time" "\Process("wbengine*")\Private Bytes" "\Process("wbengine*")\Virtual Bytes"
- logman start -n %counterName%
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement