scio var
Syntax
scio var {-s subscriber | -v virtual router} [-f file][varname]
Description
Displays kernel variables related to a subscriber or virtual router.
Options
Table 1 describes scio var options and arguments and provides examples of command syntax.
Table 1: Command Reference: scio var
Options | Usage and Example |
|---|---|
-s subscriber [variable] | Lists kernel variables related to subscribers. To display a summary list of all variables, do not specify a variable name. [root@defaulthost admin]# scio var -s
s0 Kernel variables for 'subscriber' 's0' sc_icmp_session_table: Timed hash table sc_fragment_table: Timed hash table sc_gate_table: Timed hash table sc_tcp_session_table: Timed hash table sc_bypass_flow_table: Timed hash table sc_udp_session_table: Timed hash table sc_rpc_program_table: Timed hash table sc_icmp_flow_table: Timed hash table sc_session_table: Timed hash table sc_ip_session_table: Timed hash table sc_ipaction_table: Timed hash table sc_ids_cache: Hash table sc_bypass_counts: variable sc_rpc_xid_table: Timed hash table sc_attack_table: Hash table sc_ape_flow_table: Timed hash table sc_tcp_flow_table: Timed hash table sc_ip_flow_table: Timed hash table sc_udp_flow_table: Timed hash table To display details of a particular variable, specify the variable name as an argument. The following example shows the IP flow table: [root@defaulthost admin]# scio var -s
s0 sc_ip_flow_table sc_ip_flow_table: | Source IP | Port | Destination IP | Port |FSt| Dir |Xtra info| VLAN | Timeout | |---------------+-------+----------------+-------+---+-----+---------+------+---------| |
-v virtual-router [variable] | Lists kernel variables related to virtual routers. To display a summary list of all variables, do not specify a variable name. [root@defaulthost admin]# scio var -v
vr1Kernel variables for 'virtual router' 'vr1' sc_arp_table: Timed hash table sc_mac_table: Timed hash table To display details of a particular variable, specify the variable name as an argument. [root@defaulthost admin]# scio var -v
vr1 sc_arp_tablesc_arp_table: IP Address MAC Address Interface (On Behalf Of) Timeout |
[-f file] | Writes the output to the specified filename. [root@defaulthost admin]# scio var -s
s0 -f /tmp/ip_flow_table.txt sc_ip_flow_table [root@defaulthost admin]# [root@defaulthost admin]# more /tmp/ip_flow_table.txtsc_ip_flow_table: | Source IP | Port | Destination IP | Port |FSt| Dir |Xtra info| VLAN | Ti meout | |---------------+-------+----------------+-------+---+-----+---------+------+--- ------| |

