Technical Documentation

scio counter

Syntax

scio counter { list | get class | reset class }

Description

Lists available counters, gets counts, or resets counts.

Options

Table 1 describes scio counter options and arguments and provides examples of command syntax.

Table 1: Command Reference: scio var

Options

Usage and Example

list

Displays a list of available counters.


[root@defaulthost admin]# scio counter list
Name     #counters
kpp      26
reass    23
ids      22
flow     32
fragment 10
dfa      2
arp      9
log      22
pmanager 2
ssl      22
turbo    18
misc     4
ai       17

get class

Gets counter values for the specified class.


[root@defaulthost admin]# scio counter get ids
Name                        Value
sc_ids_tcp_fast_path        0
sc_ids_l4_anomalies         0
sc_ids_anomaly_hash_miss    0
sc_ids_match_line           0
sc_ids_match_stream256      0
sc_ids_match_stream         0
sc_ids_match_packet         0
sc_ids_match_packet_header  0
sc_ids_match_context        0
sc_ids_match_regex          0
sc_ids_tail_dfa             0
sc_ids_exempt_attacks       0
sc_ids_chain_out_of_order   0
sc_ids_chain_partial_match  0
sc_ids_device_fifo_size     0
sc_ids_device_fifo_overflow 0
sc_ids_brute_force_q_size   0
sc_ids_cache_hit            0
sc_ids_cache_miss           0
sc_ids_shellcode_func       0
sc_ids_linebreak_hw         0
sc_ids_linebreak_sw         0

reset class

Resets the counters for the specified class.


[root@defaulthost admin]# scio counter reset ids
[root@defaulthost admin]#

Published: 2010-01-12