qosstat 命令
用途
显示服务质量 (QoS) 的状态。
语法
描述
qosstat 命令显示有关安装的 QoS 策略的信息。 使用不具有任何标志的 qosstat without any flags 为每个安装策略返回过滤器/流规格和统计信息。
标志
| 项 | 描述 |
|---|---|
| -一个 | 为每个已安装策略返回策略规则句柄。 通过 qoS 管理器为每个已安装策略指定唯一的句柄。 |
| -f | 为每个已安装策略返回流和过滤器规格。 |
| -S | 为每个已安装策略返回统计信息。 |
示例
qosstatPolicy 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: 0qosstat -APolicy Rule Handle 1: rule index: 1 Policy Rule Handle 2: rule index: 2qosstat -FPolicy 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): 0qosstat -SStatistics 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