Administering HP-UX IPQoS

Displaying State Information

Displaying State Information

To determine the state of HP-UX IPQoS, use the -stateoption of ipqosadmin. The three possible states are:

HP-UX IPQoS is DISABLED

HP-UX IPQoS is ENABLED but NOT FILTERING

HP-UX IPQoS is ENABLED and FILTERING

The exit status returned to the shell (“$?”) from running ipqosadmin -stateis as follows:

0: if HP-UX IPQoS is DISABLED

1: if an internal error has occurred

2: if HP-UX IPQoS is ENABLED but NOT FILTERING

3: if HP-UX IPQoS is ENABLED and FILTERING

Syntax

ipqosadmin [-st[ate] [-s[ilent]]]

Option

[-s[ilent]]

Suppresses the message indicating the state of HP-UX IPQoS.

Default: Not specified.

When not specified (the default case) a message is sent to stdout indicating the state of HP-UX IPQoS.

Example

The following example shows the state of HP-UX IPQoS.

#ipqosadmin -state

HP-UX IPQoS is ENABLED and FILTERING.

#

86

Chapter 5