Advertisement
Guest User

Untitled

a guest
Feb 5th, 2021
88
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. SET counterName=1C_CounterCommon
  2.  
  3.  
  4. SET filePath=%systemdrive%\PerfLogs\1C\
  5.  
  6.  
  7. SET filePrefix=%counterName%
  8.  
  9. SET fullPath=%filePath%\%filePrefix%
  10.  
  11.  
  12.  
  13. logman stop -n %counterName%
  14.  
  15. logman delete -n %counterName%
  16.  
  17.  
  18. 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"
  19.  
  20.  
  21. logman start -n %counterName%
  22.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement