eG Monitoring
 

Measures reported by TermUserTest

A Microsoft RDS server environment is a shared environment in which multiple users connect to a server/server farm and access a wide variety of applications. When server resources are shared, excessive resource utilization by a single user could impact the performance for other users. Therefore, continuous monitoring of the activities of each and every user on the server is critical. Towards this end, the TermUserTest assesses the traffic between the user terminal and the server, and also monitors the resources taken up by a user's session on the server. The results of this test can be used in troubleshooting and proactive monitoring. For example, when a user reports a performance problem, an administrator can quickly check the bandwidth usage of the user's session, the CPU/memory/disk usage of this user's session as well as the resource usage of other user sessions. The admin also has access to details on what processes/applications the user is accessing and their individual resource usage. This information can be used to spot any offending processes/applications.

Note:

This test will report metrics only if the Microsoft RDS server being monitored uses the .Net framework v5.0 (or above).

Measurement Description Measurement Unit Interpretation
No_of_sessions Represents the current number of sessions for a particular user Number A value of 0 indicates that the user is not currently connected to the Terminal server. 
Cpu_util The cpu utilization for a session is the percentage of time that all of the threads/processes of a user session used the processor to execute instructions. If a user is connected via multiple sessions, the value reported is the sum of all cpu utilizations across all the sessions.  Percent This value indicates the percentage of Cpu resources that are used by a specific user. Excessive CPU usage by a user can impact performance for other users. Check the detailed diagnosis to view the offending processes/applications.
Mem_util This value represents the ratio of the resident set size of the memory utilized by the user to the physical memory of the host system, expressed as a percentage. If a user is connected via multiple sessions, the value reported is the sum of all memory utilizations across all the sessions. Percent This value indicates the percentage of memory resources that are used up by a specific user. By comparing this value across users, an administrator can identify the most heavy users of the Terminal server. Check the detailed diagnosis to view the offending processes/applications.  
Input_bandwidth Indicates the average bandwidth used for client to server communications for all the sessions of a user KB/Sec This measure will not be available for Terminal servers running on Windows 2008 Service Pack 1 (or above).
Input_errors The average number of input errors of all types for all the sessions of a user. Example: Lost ACK's, badly formed packets, etc.  Errors/Sec This measure will not be available for Terminal servers running on Windows 2008 Service Pack 1 (or above).
Output_bandwidth Indicates the average bandwidth used for server to client communications for all the sessions of a user KB/Sec This measure will not be available for Terminal servers running on Windows 2008 Service Pack 1 (or above).
Output_errors The average number of output errors of all types for all the sessions of a user. Example: Lost ACK's, badly formed packets, etc. Errors/Sec This measure will not be available for Terminal servers running on Windows 2008 Service Pack 1 (or above).
IO_reads The rate of I/O reads done by all processes being run by a user KBps These metrics measure the collective I/O activity (which includes file, network and device I/O's) generated by all the processes being executed by a user. When viewed along with the system I/O metrics reported by the DiskActivityTest, these measures help you determine the network I/O. Comparison across users helps identify the user who is running the most I/O-intensive processes. Check the detailed diagnosis for the offending processes/applications.
IO_writes The rate of I/O writes done by all processes being run by a user KBps
Page_faults The rate of page faults seen by all processes being run by a user Faults/Sec Page Faults occur in the threads executing in a process. A page fault occurs when a thread refers to a virtual memory page that is not in its working set in main memory. If the page is on the standby list and hence already in main memory, or if the page is in use by another process with whom the page is shared, then the page fault will not cause the page to be fetched from disk. Excessive page faults could result in decreased performance. Compare values across users to figure out which user is causing most page faults.
Virtual_memory The total virtual memory being used by all processes being run by a user MB Comparison across users reveals the user who is being a drain on the virtual memory space.
Handles The total number of handles being currently held by all processes of a user. Number A consistent increase in the handle count over a period of time is indicative of malfunctioning of programs. Compare this value across users to see which user is using a lot of handles. Check detailed diagnosis for further information.
Cpu_util_time Indicates the percentage of time, across all processors, this user hogged the CPU. Percent The CPU usage for user's processes measure averages out the total CPU usage of a user on the basis of the number of processors. For instance, if your Terminal server is using an 8-core processor and the total CPU usage of a user across all his/her sessions amounts to 80%, then the value of the CPU usage for user's processes measure for that user will be 10 % (80/8 processors = 10). This accurately denotes the extent of CPU usage in an environment where load is uniformly balanced across multiple processors. However, in environments where load is not well-balanced, the CPU usage for user's processes measure may not be an accurate indicator of CPU usage per user. For instance, if a single processor is used nearly 80% of the time by a user, and other 7 processors in the 8-core processor environment are idle, the CPU usage for user's processes measure will still report CPU usage as 10%. This may cause administrators to miss out on the fact that the user is actually hogging a particular processor! In such environments therefore, its best to use the CPU time used by user's sessions measure! By reporting the total CPU usage of a user across all his/her sessions and across all the processors the target Citrix server supports, this measure serves as the true indicator of the level of CPU usage by a user in dynamic environments. For instance, in the example above, the CPU time used by user's sessions of the user will be 80% (and not 10%, as in the case of the CPU usage for user's processes measure). A high value or a consistent increase in the value of this measure is hence serious and demands immediate attention. In such situations, use the detailed diagnosis of the CPU usage for user's processes measure to know what CPU-intensive activities are being performed by the user.
Max_user_input_delay Indicates the maximum amount of time lag detected between the user's input through any input device (e.g., mouse, keyboard) and the time at which this application detected the input. Percent Seconds These measures will be reported only for the Windows 2019 desktops on the target RDS server.

Ideally, the values of these measures should be very low.

High values for these measures can impact the speed of accessing the applications in the environment and badly degrade the overall user experience.  
Avg_user_input_delay Indicates the average amount of time lag detected between the user's input through any input device (e.g., mouse, keyboard) and the time at which this application detected the input. Seconds