How to monitor CPU and network utilization

Because Nano Server does not have an interactive console, administration must be done remotely.

  1. Connect to Nano Server remotely.

    To access Nano Server remotely, please follow the steps in How to access Nano Server.

  2. To monitor CPU utilization

    You can use the Get-Counter cmdlet to get performance monitor data. Look up the help for the cmdlet for more details and examples.

    To monitor CPU utilization in real-time, 2 seconds between samples, and stop after 33 samples:

    Get-Counter -Counter "\Processor(_Total)\% Processor Time" -SampleInterval 2 -MaxSamples 33
    

    To do this continuously (still 2 seconds apart):

    Get-Counter -Counter "\Processor(_Total)\% Processor Time" -SampleInterval 2 -Continuous
    

    To do this continuously (no time delay):

    Get-Counter -Counter "\Processor(_Total)\% Processor Time" -Continuous
    
  3. To monitor memory utilization

    To list remaining memory:

    Get-Counter -Counter "\Memory\Available MBytes"
    

    To list remaining memory every 15 seconds, continuously:

    Get-Counter -Counter "\Memory\Available MBytes" -SampleInterval 15 -Continuous
    
  4. To monitor network utilization

    You can use Performance Monitor (PerfMon) remotely to monitor Nano Server performance and resources. Run PerfMon from any command line (or type "Performance Monitor" in the Start menu), right-click on "Performance", select "Connect to another computer", and enter the IP address of the Nano Server computer you want to monitor.

  5. Server Management Tools

    You can use the browser-based Server Management Tools (SMT) to monitor CPU, disk, network, and memory, among many other features. Check out this blog and the accompanying video for a taste of SMT: https://blogs.technet.com/b/nanoserver/archive/2016/02/09/server-management-tools-is-now-live.aspx

    Web-based Server Management Tools UI for Nano Server