Machine Statistics

The Machine statistics page provides a comprehensive view of resource consumption and session experience on the selected machine during the last 24 hours. This information helps administrators correlate high CPU or memory usage occurrences with session failures and experience across the machines in their Virtual Apps and Desktops environment.

Accessing the Machine statistics page

Click the machine name link from the Self-service view for Machines.

Machine Statistics view

Using the Machine statistics page

The Machine Statistics page displays the machine and session performance statistics in the same view. This view helps analyze machine resources, their usage pattern, and understand if machine resources might have been the bottleneck for poor performance.

The Machine Statistics page displays data for the last 24 hours, by default. However, data is available for the last 14 days. To choose a different 24 hour period, use the calendar. Data is displayed for the last 24 hours from the time you choose.

Machine Statistics attributes

Machine attributes

Key machine attributes are displayed.

  • Delivery Group and Site the machine belongs to,
  • OS type, OS of the machine,
  • Downtime represents the period during which the machine was in Unregistered, Failed, Shutdown, or Powered off state in the last 24 hours.

Machine Performance statistics

Key metrics that define the machine performance are displayed.

  • CPU Peak represents the maximum CPU utilization in the machine in the last 24 hrs.
  • Sustained CPU Spikes represents the number of times CPU utilization crossed the CPU threshold of 80% and sustained for 5 minutes or more.
  • Memory Peak represents the maximum memory consumption in the last 24 hrs.
  • Sustained Memory Spikes represents the number of times memory consumption crossed the memory threshold of 80% and sustained for 5 minutes or more.
  • The Machine Performance trend for a default 4 hour window in the last 24 hours shows CPU utilization and memory consumption plotted at 5 min granularity.

Session Performance Statistics

Key session performance related metrics are displayed.

  • Session Failures that occurred on the machine over the last 24 hours.
  • Session Failure trend displays the session failures count plotted for a default 4 hour window in the last 24 hours.
  • Peak Concurrent Sessions represents the maximum number of concurrent sessions that were established on the machine over the past 24 hours.
  • The User Session Performance trend shows the classification of sessions based on session experience as Excellent, Fair, or Poor, plotted for a default 4-hour window in the last 24 hours.

Top resource consuming processes

Click the Processes tab to gain visibilty into the high resource consuming processes running on the machine in the selected time period. You must enable the Process Monitoring policy from Citrix Studio to see this information. You can choose to view the processes ranked as per CPU Utilization or Memory Consumption.

Process visibility

Top three Most Resource Consuming Processes are displayed with percentage CPU or Memory Peak as selected. These are processes that caused sustained CPU or Memory spikes coinciding with high resource consumption on the corresponding machine. The charts plot CPU Utilization or Memory Consumption by the process across the selected time period. This helps correlate resource consumption by the processes with session failures on the machine. Process visibility is currently available for multi-session OS machines. This feature requires that you enable the Process Monitoring policy from Citrix Studio.

Process monitoring policy

For more information, see Monitoring policy settings

Time navigation bar

Machine and User Session Performance trends are plotted for a default 4-hour window. To view data corresponding to any other window in the 24-hour range, move the time navigation bars and choose a different time range. You can zoom in or out in a 2–8 hour window, to view the events corresponding to the selected time range.

Machine Statistics attributes

Usage Notes

  • Machine downtime might cause disrupted plotting of the Machine Performance trend.
  • If machines in your on-premises Virtual Apps and Desktops environment were added to the machine catalog before the site was onboarded to Performance Analytics, the OS information of the machine might not be available in the Machine Statistics view. As a workaround, add the machines to the machine catalog after the onboarding the site.
  • Statistics of machines in your on-premises Virtual Apps and Desktops environment are available (up to) 24 hours after the onboarding to Performance Analytics has been initiated.
  • The Machine Performance trend is not available for the duration when the machine was in Unregistered, Failed, Shutdown, Powered off status, or if it was deleted from the Delivery Group. Statistics are available only for the period when the machine was available.

Machine Statistics failure

Typical use case for Machine Statistics view

The Machine statistics view provides information to troubleshoot a machine comprehensively. Let us understand the usage of this view with a typical use case starting from the User Experience Dashboard. The Failure insights panel on the User Experience Dashboard, provides a list of black hole machines that resulted in three or more consecutive session failures.

Black hole machines

Clicking the black hole machines link leads you to the Machines based self-service view. This view lists all the metrics related to the black hole machines such as the downtime, peak CPU, and peak memory.

Black hole machines

Click a machine name in the self-service view for Machines to display the Machine statistics page. This page displays the machine, session performance,and process resource parameters plotted for the same time range. You can use this information to compare resource usage at the time of session failures and get insights on the possibility of resource crunch being a cause for failures.

Machine Statistics attributes

Machine Actions and Composite Actions

Machine Actions

Machine Actions are available for admins with Full Administrator access. They help you to perform the following actions on the machines:

  • Turn on maintenance mode
  • Turn off maintenance mode
  • Restart machine
  • Start machine
  • Shutdown machine
  • Restart machine
  • Force restart machine
  • Force shut down machine

Note:

The Machine Actions option is visible for all machines. However, it works only on MCS or power-managed machines.

Typical use case for Machine Actions

Machine actions help resolve poor user experience. If a machine is impacted due to high memory usage, you can understand the exact nature of the issue in the Machines self-service view. The Machines self-service view displays the OS, the number of memory spikes, and CPU spikes over a period. You can click individual machines to see the correlation between the resources and the session experience in the Machine Statistics page. A sample screenshot is given here.

Actions Correlation

As a full administrator, you can put the machine in maintenance so that no more connections or sessions are allowed on this machine. You can then restart the machine or perform other troubleshooting procedures to free up the memory.

You can perform all these actions from within the Machine Statistics view instead of navigating to Web Studio or Citrix Director.

Composite Actions help perform a sequence of machine actions in a single click from the Machine Statistics view.

Composite Actions

You can use one of the following two sequences of Composite Actions.

  • Maintenance On > Send Message > Logoff > Restart > > Maintenance Off**

    1. Move the machine to Maintenance On mode.
    2. Send restart warning messages to all users logged into the machine.
    3. Wait for a timeout of 30 minutes or wait for all users to log off.
    4. Restart the machine.
    5. Move the machine to Maintenance Off mode.
  • Maintenance On > Send Message > Logoff > Force Restart » Maintenance Off

    1. Move the machine to Maintenance On mode.
    2. Send restart warning messages to all users logged into the machine.
    3. Wait for a timeout of 30 minutes or wait for all users to log off.
    4. Force restart the machine.
    5. Move the machine to Maintenance Off mode.

The overall status of the composite action and that of the individual steps are displayed under the Actions link.

Composite Actions

Machine Statistics