qosstat Command

Purpose

Show Quality of Service (QoS) status.

Syntax

qosstat [ -A ] [ -F ] [ -S ]

Description

The qosstat command displays information about the installed Qos policies. Using qosstat without any flags returns filter/flow specification and statistical information for each installed policy.

Flags

Item Description
-A Returns the policy rule handle for each installed policy. A unique handle is assigned by the qoS manager for each policy installed.
-F Returns the flow and filter specification for each policy installed.
-S Returns the statistical information for each policy installed.

Examples

  1. qosstat
    Policy Rule handle 1:
    
    Filter specification for rule index 1:
            PolicyRulePriority:                    0
            protocol:                    TCP
            source IP addr:              INADDR_ANY
            destination IP addr:         INADDR_ANY
            source port:                 80
            destination port:            ANY_PORT
    Flow Class for rule index 1:
            service class:     Diff-Serv
            peak rate:         100000000 bytes/sec
            average rate:      128 bytes/sec
            bucket depth:      4096 bytes
            TOS (in profile):  0
            TOS (out profile): 0
    Statistics for rule index 1:
            total number of connections:          0
            total bytes transmitted:              0
            total packets transmitted:            0
            total in-profile bytes transmitted:   0
            total in-profile packets transmitted: 0
    Policy Rule Handle 2:
    
    Filter specification for rule index 2:
            PolicyRulePriority:                    0
            protocol:                    TCP
            source IP addr:              INADDR_ANY
            destination IP addr:         INADDR_ANY
            source port:                 100
            destination port:            ANY_PORT
    Flow Class for rule index 2:
            service class:     Diff-Serv
            peak rate:         100000000 bytes/sec
            average rate:      128 bytes/sec
            bucket depth:      4096 bytes
            TOS (in profile):  0
            TOS (out profile): 0
    Statistics for rule index 2:
            total number of connections:          0
            total bytes transmitted:              0
            total packets transmitted:            0
            total in-profile bytes transmitted:   0
            total in-profile packets transmitted: 0
  2. qosstat -A
    Policy Rule Handle 1:
            rule index:    1
    
    Policy Rule Handle 2:
            rule index:    2
  3. qosstat -F
    Policy Rule Handle 1:
    Filter specification for rule index 1:
            PolicyRulePriority:                    0
            protocol:                    TCP
            source IP addr:              INADDR_ANY
            destination IP addr:         INADDR_ANY
            source port:                 80
            destination port:            ANY_PORT
    Flow Class for rule index 1:
            service class:     Diff-Serv
            peak rate:         100000000 bytes/sec
            average rate:      128 bytes/sec
            bucket depth:      4096 bytes
            TOS (in profile):  0
            TOS (out profile): 0
    
    Policy Rule Handle 2:
    Filter specification for rule index 2:
            PolicyRulePriority:                    0
            protocol:                    TCP
            source IP addr:              INADDR_ANY
            destination IP addr:         INADDR_ANY
            source port:                 100
            destination port:            ANY_PORT
    Flow Class for rule index 2:
            service class:     Diff-Serv
            peak rate:         100000000 bytes/sec
            average rate:      128 bytes/sec
            bucket depth:      4096 bytes
            TOS (in profile):  0
            TOS (out profile): 0
  4. qosstat -S
    Statistics for rule index 1:
            total number of connections:          0
            total bytes transmitted:              0
            total packets transmitted:            0
            total in-profile bytes transmitted:   0
            total in-profile packets transmitted: 0
    
    Policy Rule Handle 2:
    Statistics for rule index 2:
            total number of connections:          0
            total bytes transmitted:              0
            total packets transmitted:            0
            total in-profile bytes transmitted:   0
            total in-profile packets transmitted: 0