Product Documentation

Evaluating Your Compression Configuration

Sep 01, 2016

You can view the compression statistics in the dashboard utility or in an SNMP monitor. The dashboard utility displays summary and detailed statistics in a tabular and graphic format.

Optionally, you can also view statistics for a compression policy, including the number of hits that the policy counter increments during the policy based compression.

Note:
  • For more information about the statistics and charts, see the Dashboard help on the Citrix NetScaler appliance.
  • For more information about SNMP, see SNMP.
To View Compression Statistics by Using the Command Line Interface
At the command prompt, enter the following commands to display the compression statistics:
  1. To display compression statistics summary
    stat cmp
    Note: The stat cmp policy command displays statistics for default syntax compression policies only.
  2. To display compression policy hits and details

    show cmp policy <name>

  3. To display detailed compression statistics

    stat cmp -detail

To View Compression Statistics by Using the Dashboard
In the Dashboard utility, you can display the following types of compression statistics:
  • Select Compression to display a summary of the compression statistics.
  • To display detailed compression statistics by protocol type, click the Details
  • To display the rate of requests processed by the compression feature, click the Graphical View tab.
To View Compression Statistics by Using SNMP
You can view the following compression statistics by using the SNMP network management application.
  • Number of compression requests (OID: 1.3.6.1.4.1.5951.4.1.1.50.1)
  • Number of compressed bytes transmitted (OID: 1.3.6.1.4.1.5951.4.1.1.50.2)
  • Number of compressible bytes received (OID: 1.3.6.1.4.1.5951.4.1.1.50.3)
  • Number of compressible packets transmitted (OID: 1.3.6.1.4.1.5951.4.1.1.50.4)
  • Number of compressible packets received (OID: 1.3.6.1.4.1.5951.4.1.1.50.5)
  • Ratio of compressible data received and compressed data transmitted (OID: 1.3.6.1.4.1.5951.4.1.1.50.6)
  • Ratio of total data received to total data transmitted (OID: 1.3.6.1.4.1.5951.4.1.1.50.7)
To View Additional Compression Statistics by Using the Configuration Utility
  1. To display HTTP compression statistics:

    Navigate toOptimization > HTTP Compression and click Statistics.

  2. To display statistics of a compression policy

    Navigate to Optimization > HTTP Compression > Policies> select the policy, and click Statistics.

  3. To display statistics of a compression policy label

    Navigate to Optimization > HTTP Compression > Policies> select a policy label, and click Statistics.