Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation
Guide That Contains This Content
[+] Expand All
[-] Collapse All

    Documentation Search

    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      47
    reass    27
    ids      24
    flow     41
    fragment 10
    dfa      6
    arp      9
    log      24
    pmanager 2
    ssl      26
    turbo    18
    misc     31
    ai       21
    memory   6
    proxy    63
    

    get class

    Gets counter values for the specified class.


    [root@defaulthost admin]# scio counter get ids
    Name                        Value
    sc_ids_tcp_fast_path        121
    sc_ids_l4_anomalies         0
    sc_ids_anomaly_hash_miss    14
    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        9
    sc_ids_match_regex          0
    sc_ids_tail_dfa             21
    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         154
    ipblocker_dropped           0
    sc_ids_drop_pkts            0
    

    reset class

    Resets the counters for the specified class.


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

    Published: 2011-02-08