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

    statview view

    Syntax

    statview view -r infile

    Release Information

    As of IDP OS Release 5.0, this is the only supported statview command. The following statview commands are not supported: statview -d, statview chart, statview meta, statview query. We recommend you use NSM or IDP Reporter to view application volume statistics.

    Description

    Displays application volume tracking statistics. You can use the statview view command to verify or troubleshoot the application volume tracking feature, but we recommend you use NSM or IDP Reporter to view application volume statistics. For details, see the IDP Series Concepts and Examples Guide.

    Options

    Table 1 describes statview view options.

    Table 1: Command Reference: statview view

    Option

    Description

    -r infile

    infile is a data file collected by the application volume tracking process. You can find these files in the following directories:

    • /usr/idp/device/var/stat/1hour
    • /usr/idp/device/var/stat/15min

    The following example shows how to display the raw data with the statview utility.


    [root@defaulthost ~]# cd /usr/idp/device/var/stat/15min

    [root@defaulthost 15min]# ls -l
    total 955016
    -rw------- 1 idp idp 316602392 Apr  9 23:45 1239300000.stat
    -rw------- 1 idp idp 268628252 Apr  9 23:59 1239300900.stat
    -rw------- 1 idp idp  89657072 Apr 10 00:15 1239301800.stat
    -rw------- 1 idp idp 273576032 Apr 10 00:30 1239302700.stat
    -rw------- 1 idp idp  28473032 Apr 10 00:31 1239303600.stat
    lrwxrwxrwx 1 idp idp        46 Apr 10 00:30 current.stat -> /usr/idp/device/var/stat/15min/1239303600.stat
    [root@defaulthost 15min]#

    [root@defaulthost 15min]# statview view -r 1239297300.stat | more
    --------------------------------------------------------------------------------
    -------------------------------------------------------------
    
    SessionID |Src IP          |Dst IP          |Pro|Sport |Dport |C2SBytes  |C2SPac
    kets|S2CBytes  |S2CPackets|AppID|Vlan|StartTimeSec|EndTimeSec
    
    --------------------------------------------------------------------------------
    -------------------------------------------------------------
    
    20942     |61 .0  .0  .157 |61 .0  .0  .251 |6  |10905 |80    |0         |0
        |0         |0         |64   |0   |1239297171  |1239297176
    
    --------------------------------------------------------------------------------
    -------------------------------------------------------------
    

    Table 2 describes the columns of data in AVT records for each session.

    Table 2: Application Volume Tracking Data

    Data Field

    Description

    SessionID

    Unique ID for the session.

    Src IP

    IP address for the host that initiated the session.

    Dst IP

    IP address for the destination server.

    Pro

    The IP protocol: TCP, UDP, or ICMP.

    Sport

    The port number for the source host.

    Dport

    The port number of the destination host.

    C2SBytes

    S2CBytes

    Throughput in bytes for sessions during the interval. AVT tracks both server-to-client and client-to-server bytes.

    C2SPackets

    S2CPackets

    Number of packets for sessions during the interval. AVT tracks both server-to-client and client-to-server packets.

    AppID

    The application identified by the application identification feature.

    Vlan

    VLAN ID.

    StartTimeSec

    EndTimeSec

    Session start and end points.


    Published: 2011-02-08