SLICE Module

The SLICE module prints basic traffic statistics observed every timeslice. When the SLICE module is invoked as in :

surya:/home/mani> tcptrace -xslice rexmit.dmp.gz

it leaves a data file by name slice.dat in the working directory that looks like :

date                segs    bytes  rexsegs rexbytes      new   active
--------------- -------- -------- -------- -------- -------- --------
03:00:23.813146       40    33976        3     3060        1        1
03:00:38.813146       54    50592        7    10500        0        1
03:00:53.813146       77    70612        6     9000        0        1
03:01:08.813146       29    29020        5     7500        0        1
. . .
. . .

As shown above the date field indicates the time at the end of the time slice (15 seconds by default). The subsequent fields indicate the segments seen (segs), the total bytes of data seen (bytes), the total number of retransmitted segments (rexsegs) and retransmitted bytes (rexbytes), the total number of new connections opened in the past time-slice (new) and the total number of connections active in the past time-slice (active). The slice.dat file can be used as a data file to plot a graph with the gnuplot program for example, to see how the reported characteristics varied over time in the period of data capture of the dumpfile.

The module also allows the following options that can be passed as ARGS in -xslice''[ARGS]'' and given in the command line.


Super-User 2003-08-29