S
S
squidw2017-09-13 10:42:37
Hyper-V
squidw, 2017-09-13 10:42:37

How to properly create a collection of logman counters?

I have physical servers and Hyper-V Core hypervisor servers. Accordingly, on Hyper-v Core, I cannot use the graphical pefmon, I have to use the console logman. At the minimum, I need to get the following data from the hypervisor:
-memory
load -processor load
-network adapter
load -disk load
Accordingly, these are counters:
-Memory. Total available MB
-Memory. Pages/sec
-Processor. % Processor
Time -System. Processor Queue Length
-Logical Disk. Free megabytes
-Physical disk. Average disk queue length
-physicaldisk(_Total)\Avg. Disk Sec / Read (Russian name not found)
-PhysicalDisk(_Total)\Avg. Disk Sec/Write (Russian name not found)
-PhysicalDisk(*)\Avg. Disk Bytes/Read (Russian name not found)
-PhysicalDisk(*)\Avg. Disk Bytes/Write (Russian name not found)
-Network interface. Total bytes/sec
Additionally, for hypervisors, respectively, it is necessary to analyze the load of the VMs themselves, selected the counters accordingly:
Hyper-V Hypervisor Logical Processor\% Total Run Time
Hyper-V Hypervisor Virtual Processor\% Guest Run Time
Hyper- V Dynamic Memory Balancer\Available Memory
Hyper - V Dynamic Memory VM\ Physical Memory
Hyper-V Dynamic Memory Balancer\Average Pressure
Hyper-V Dynamic Memory VM\Average Pressure
Memory\Commited Bytes
\LogicalDisk (*)\Average Disk Sec\Read / Write
Hyper-V Virtual IDE Controller/Read/Write Bytes / Sec
Hyper- V Virtual Storage Device/Read/Write Bytes / Sec
\Network Interface (*)\OutputQueue Length
Hyper- V Virtual Switch: Bytes/Sec and Packets/Sec
Hyper-V Virtual Network Adapter and Hyper-V Legacy Network Adapter: Bytes Sent/Sec and Bytes Received/Sec
Actually questions:
1) I didn’t find a single clear table on Microsoft resources what is the name of counter in English and translation to it in Russian, in order to understand what I added what I need
2) Additional counters that I indicated which of them I will not need, given that all VMs have fixed: RAM, VHD / VHDX volume, do not migrate, there are no checkpoints (for now). Accordingly, what counters do you recommend.
3) I have a problem with the counters for the hypervisors themselves, I made a logman script that should collect data at an interval of 5 seconds, but it does not display the result of some counters or displays it incorrectly.
Script:
logman create counter fort_counter -f bincirc -c "\Memory\Available Mbytes" "\LogicalDisk(_Total)\Free Megabytes" "\Processor(_Total)\%% Processor Time" "\Memory(_Total)\Pages/sec" " \System(_Total)\Processor Queue Length" "\PhysicalDisk(_Total)\Avg. Disk Queue Length" "\PhysicalDisk(*)\Avg. Disk Bytes/Read" "\PhysicalDisk(*)\Avg. Disk Bytes/Write " "PhysicalDisk(_Total)\Avg. Disk Sec/Read" "\PhysicalDisk(_Total)\Avg. Disk Sec/Write" "\Network Interface(*)\Bytes
Total /sec" -si 5 -v mmddhhmm viewing the blg file itself, I do not see the following counters in the list:
-Memory. Total available MB
-physicaldisk(_Total)\Avg. Disk Sec/Read (Russian name not found)
-PhysicalDisk(_Total)\Avg.
-Logical drive. Free megabytes - shows in total and not for individual logical drives C:\, D:\, etc.
-Physical disk. Average length of the disk queue - shows in total and not for individual disks
-PhysicalDisk(*)\Avg. Disk Bytes/Read (Russian name not found) - shows in total and not for individual disks
-PhysicalDisk(*)\Avg. Disk Bytes/Write (I didn't find the name in Russian) - shows in total and not for individual disks
3) how to add logman scripts to the scheduler, taking into account the fact that this is Core, it is necessary to use the console again?
4) What more automated options are there besides logman?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question