Query on System Information

Glenn Maxwell 9,666 Reputation points
2022-07-11T18:14:07.357+00:00

Hi All

i have two Azure Virtual machines lets say Srv01, Srv02 with same configuration i.e same instance size. i have an application running on these two VMS. When user gets connected to Srv01 from the application the performance is faster but when user gets connected to Srv02 from application the performance is not same as Srv01. i want to match the configuration of both the servers, is the only way from Operating System-System information. i want check every minute information like clock speed, caching every thing. experts guide me how to fetch this information as application owner says its hardware issue.

Windows Server 2019
Windows Server 2019
A Microsoft server operating system that supports enterprise-level management updated to data storage.
3,341 questions
Windows Server 2016
Windows Server 2016
A Microsoft server operating system that supports enterprise-level management updated to data storage.
2,321 questions
Windows Server
Windows Server
A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.
11,746 questions
Windows Hardware Performance
Windows Hardware Performance
Windows: A family of Microsoft operating systems that run across personal computers, tablets, laptops, phones, internet of things devices, self-contained mixed reality headsets, large collaboration screens, and other devices.Hardware Performance: Delivering / providing hardware or hardware systems or adjusting / adapting hardware or hardware systems.
1,510 questions
{count} votes

Accepted answer
  1. Andreas Baumgarten 92,401 Reputation points MVP
    2022-07-12T18:17:44.867+00:00

    Hi @Glenn Maxwell ,

    maybe this helps: https://devblogs.microsoft.com/scripting/retrieve-azure-resource-manager-virtual-machine-properties-by-using-powershell-part-2/
    There are 5 parts in this series. The first part you can skip, this is just the deployment of a VM that will be used in the other parts.

    https://devblogs.microsoft.com/scripting/retrieve-azure-resource-manager-virtual-machine-properties-by-using-powershell-part-2/

    Or maybe this is helpful as well: https://rajanieshkaushikk.com/2021/02/03/retrieve-azure-vm-details-by-using-powershell/

    Getting the CPU details: https://community.spiceworks.com/how_to/170332-how-to-get-cpu-information-in-windows-powershell

    ----------

    (If the reply was helpful please don't forget to upvote and/or accept as answer, thank you)

    Regards
    Andreas Baumgarten


1 additional answer

Sort by: Most helpful
  1. Andreas Baumgarten 92,401 Reputation points MVP
    2022-07-11T19:23:13.18+00:00

    Hi @Glenn Maxwell ,

    I would start with using the Performance Monitor of the Windows Server OS.
    This way you are able to collect the data in a file and take a look on this later.
    The following counters should give an overview of the performance of each VM:

    • [Processor] "% Processor time"
    • [Processor] "Queue Length"
    • [Physical Disk] "Current Disk Queue Length"
    • [Physical Disk] "Avg. Disk Queue Length"
    • [Physical Disk] "% Idle Time"
    • [Memory] "Available MBs"
    • [Memory] "Pages/sec"
    • [Memory] "Paging File(_Total)\% Usage"
    • [Network interface] "Bytes total/sec"

    Another option is to use Azure VM Insights: https://learn.microsoft.com/en-us/azure/azure-monitor/vm/vminsights-overview


    (If the reply was helpful please don't forget to upvote and/or accept as answer, thank you)

    Regards
    Andreas Baumgarten