共用方式為


Terminal Services Session Object

Applies To: Windows Server 2003, Windows Server 2003 R2, Windows Server 2003 with SP1, Windows Server 2003 with SP2

The Terminal Services Session performance object provides per-session resource statistics, such as packet and frame transmission data, errors, and cache activity for Terminal Services.

In addition, the Terminal Services Session performance object reports session-specific activity using the following Process object counters:

Process Object

Process Object

Process Object

Process Object

Process Object

Process Object

Process Object

Process Object

Process Object

Process Object

Process Object

Process Object

Process Object

Process Object

Process Object

Counter Name Description Counter Type

Input Async Frame Error

Shows the number of input async framing errors. These can be caused by a noisy transmission line. Using a smaller packet size can help in some cases.

PERF_COUNTER_RAWCOUNT

Input Async Overflow

Shows the number of input async overflow errors. These can be caused by a lack of buffer space available on the host.

PERF_COUNTER_RAWCOUNT

Input Async Overrun

Shows the number of input async overrun errors. These can be caused by the baud rate being faster than the computer can handle, or by a serial line that does not use a 16550 universal asynchronous receiver-transmitter (UART). Overruns can also occur if too many high speed serial lines are active at one time for the processor's power.

PERF_COUNTER_RAWCOUNT

Input Async Parity Error

Shows the number of input async parity errors. These can be caused by a noisy transmission line.

PERF_COUNTER_RAWCOUNT

Input Bytes

Shows the number of bytes input on this session, which includes all protocol overhead.

PERF_COUNTER_COUNTER

Input Compress Flushes

Shows the number of input compression dictionary flushes. When the data cannot be compressed, the compression dictionary is flushed so that newer data has a better chance of being compressed. One possible cause of data not compressing is transferring compressed files using client drive mapping.

PERF_COUNTER_RAWCOUNT

Input Compressed Bytes

Shows the number of bytes that were input after compression. This number compared with the Total Bytes input is the compression ratio.

PERF_COUNTER_COUNTER

Input Compression Ratio

Shows the compression ratio of the server input data stream. This is Input Compressed Bytes compared with the Total Bytes input.

PERF_COUNTER_RAWCOUNT

Input Errors

Shows the number of input errors of all types. Some examples of input errors are lost acknowledgments (ACKs) or badly formed packets.

PERF_COUNTER_RAWCOUNT

Input Frames

Shows the number of frames input on this session.

PERF_COUNTER_COUNTER

Input Timeouts

Shows the total number of timeouts on the communication line, as seen from the client side of the connection. These are typically the result of a noisy line. On some high-latency networks, this could be the result of the protocol timeout being too short. Increasing the protocol timeout on these types of lines will improve performance by reducing the need for retransmissions.

PERF_COUNTER_RAWCOUNT

Input Transport Errors

Shows the number of Terminal Services transport-level errors on input.

PERF_COUNTER_RAWCOUNT

Input WaitForOutBuf

Shows the number of times that a "wait for an available send buffer" was done by the protocols on the client side of the connection.

PERF_COUNTER_RAWCOUNT

Input WdBytes

Shows the number of bytes input on this session after all protocol overhead has been removed.

PERF_COUNTER_COUNTER

Input WdFrames

Shows the number of frames input after any additional protocol added frames have been removed.

PERF_COUNTER_COUNTER

Output Async Frame Error

Shows the number of output async framing errors. These could be caused by a hardware or line problem.

PERF_COUNTER_RAWCOUNT

Output Async Overflow

Shows the number of output async overflow errors.

PERF_COUNTER_RAWCOUNT

Output Async Overrun

Shows the number of output async overrun errors.

PERF_COUNTER_RAWCOUNT

Output Async Parity Error

Shows the number of output async parity errors. These can be caused by a hardware or line problem.

PERF_COUNTER_RAWCOUNT

Output Bytes

Shows the number of bytes output on this session, which includes all protocol overhead.

PERF_COUNTER_COUNTER

Output Compress Flushes

Shows the number of output compression dictionary flushes. When the data cannot be compressed, the compression dictionary is flushed so that newer data has a better chance of being compressed. One possible cause of data not compressing is transferring compressed files using client drive mapping.

PERF_COUNTER_RAWCOUNT

Output Compressed Bytes

Shows the number of bytes output after compression. This number compared with the Total Bytes output is the compression ratio.

PERF_COUNTER_COUNTER

Output Compression Ratio

Shows the compression ratio of the server output data stream. Output Compressed Bytes compared with the Total Bytes output is the compression ratio.

PERF_COUNTER_RAWCOUNT

Output Errors

Shows the number of output errors of all types. Some examples of output errors are lost ACKs or badly formed packets.

PERF_COUNTER_RAWCOUNT

Output Frames

Shows the number of frames that were output on this session.

PERF_COUNTER_COUNTER

Output Timeouts

Shows the total number of timeouts on the communication line, from the host side of the connection. These are typically the result of a noisy line.

PERF_COUNTER_RAWCOUNT

Output Transport Errors

Shows the number of Terminal Services transport-level errors on output.

PERF_COUNTER_RAWCOUNT

Output WaitForOutBuf

Shows the number of times that a "wait for an available send buffer" was done by the protocol on the server side of the connection.

PERF_COUNTER_COUNTER

Output WdBytes

Shows the number of bytes output on this session after all protocol overhead has been removed.

PERF_COUNTER_COUNTER

Output WdFrames

Shows the number of frames output before any additional protocol frames have been added.

PERF_COUNTER_COUNTER

Protocol Bitmap Cache Hit Ratio

Shows the hit ratio in the protocol bitmap cache. A higher hit ratio means better performance, since data transmissions are reduced. Low hit ratios are due to the screen updating with new information that is either not re-used, or is flushed out of the client cache.

PERF_COUNTER_RAWCOUNT

Protocol Bitmap Cache Hits

Shows the number of hits in the protocol bitmap cache.

PERF_COUNTER_RAWCOUNT

Protocol Bitmap Cache Reads

Shows the number of references to the protocol bitmap cache.

PERF_COUNTER_RAWCOUNT

Protocol Brush Cache Hit Ratio

Shows the hit ratio in the protocol brush cache.

PERF_COUNTER_RAWCOUNT

Protocol Brush Cache Hits

Shows the number of hits in the protocol brush cache.

PERF_COUNTER_RAWCOUNT

Protocol Brush Cache Reads

Shows the number of references to the protocol brush cache.

PERF_COUNTER_RAWCOUNT

Protocol Glyph Cache Hit Ratio

Shows the hit ratio in the protocol glyph cache.

PERF_COUNTER_RAWCOUNT

Protocol Glyph Cache Hits

Shows the number of hits in the protocol glyph cache.

PERF_COUNTER_RAWCOUNT

Protocol Glyph Cache Reads

Shows the number of references to the protocol glyph cache.

PERF_COUNTER_RAWCOUNT

Protocol Save Screen Bitmap Cache Hit Ratio

Shows the hit ratio in the protocol save screen bitmap cache.

PERF_COUNTER_RAWCOUNT

Protocol Save Screen Bitmap Cache Hits

Shows the number of hits in the protocol save screen bitmap cache.

PERF_COUNTER_RAWCOUNT

Protocol Save Screen Bitmap Cache Reads

Shows the number of references to the protocol save screen bitmap cache.

PERF_COUNTER_RAWCOUNT

Total Async Frame Error

Shows the total number of async framing errors.

PERF_COUNTER_RAWCOUNT

Total Async Overflow

Shows the total number of async overflow errors.

PERF_COUNTER_RAWCOUNT

Total Async Overrun

Shows the total number of async overrun errors.

PERF_COUNTER_RAWCOUNT

Total Async Parity Error

Shows the total number of async parity errors.

PERF_COUNTER_RAWCOUNT

Total Bytes

Shows the total number of bytes on this session, which includes all protocol overhead.

PERF_COUNTER_COUNTER

Total Compress Flushes

Shows the total number of compression dictionary flushes.

PERF_COUNTER_RAWCOUNT

Total Compressed Bytes

Shows the total number of bytes after compression. This number compared with the Total Bytes output is the compression ratio.

PERF_COUNTER_COUNTER

Total Compression Ratio

Shows the total compression ratio of the server data stream. This is the Total Compressed Bytes compared with the Total Bytes output.

PERF_COUNTER_RAWCOUNT

Total Errors

Shows the total number of errors of all types.

PERF_COUNTER_RAWCOUNT

Total Frames

Shows the total number of frames on this session.

PERF_COUNTER_COUNTER

Total Protocol Cache Hit Ratio

Shows the overall hit ratio for all protocol caches.

PERF_COUNTER_RAWCOUNT

Total Protocol Cache Hits

Shows the total hits in all protocol caches. The protocol caches Windows objects that are likely to be re-used, to avoid having to resend them on the transmission line. Examples of objects are Windows icons and brushes. Hits in the cache represent objects that did not need to be resent.

PERF_COUNTER_RAWCOUNT

Total Protocol Cache Reads

Shows the total references to all protocol caches.

PERF_COUNTER_RAWCOUNT

Total Timeouts

Shows the total number of timeouts on the communication line, from both the host and client sides of the connection.

PERF_COUNTER_RAWCOUNT

Total Transport Errors

Shows the total number of Terminal Services transport-level errors.

PERF_COUNTER_RAWCOUNT

Total WaitForOutBuf

Shows the number of times that a "wait for an available send buffer" was done by the protocols on both the server and client sides of the connection.

PERF_COUNTER_COUNTER

Total WdBytes

Shows the total number of bytes on this session after all protocol overhead has been removed.

PERF_COUNTER_COUNTER

Total WdFrames

Shows the total number of frames input and output before any additional protocol frames have been added.

PERF_COUNTER_COUNTER

Terminal Services Object