Administering HP-UX IPQoS

Showing Statistics

Showing Statistics

To show or reset current statistics on the active configuration, use the -ss-showstatsoption of ipqosadmin. Statistics are displayed if HP-UX IPQoS is in the ENABLED and FILTERING state. In the other states (ENABLED but NOT FILTERING or DISABLED), there are no statistics to display.

If successful, the exit status returned to the shell (“$?”) from running ipqosadmin -showstatsis 0, otherwise it returns 1.

Syntax

ipqosadmin -ss-showstats [<entity>...-r[eset]]

Options

[<entity>...]

Displays statistics for specified entities.

Valid specifications for <entity> are:

adaptername (for example, lan0) adaptername/policyname (for example lan0/policy_1 adaptername/policyname/filtername

(for example. lan0/policy_1/filter_a)

If you cannot remember the exact names of specific policies or filters, run ipqosadmin -showconfigto view the names of the configured adapters, policies, and filters.

Default: Not specified.

When no entities are specified (the default case), displays statistics for all configured adapters, policies and filters.

[-r[eset]]

Resets statistics for all adapters, policies, and filters.

Default: Not specified.

NOTE

The <entity> option and the -resetoption are mutually

 

exclusive.

 

 

94

Chapter 5