Node:fc2xp and fc2xg, Previous:SCNMPlot, Up:User Guide



fc2xp and fc2xg

fc2xp generates a file for xplot from the SCNM trace file

fc2xg generates a file for xgraph from the SCNM trace file

For example:

     fc2xg [options] ???.dat | xgraph -m
     

By default, fc2xg generates packet rate data for TCP traffic, and extracts only the first stream found in the data file. It also prints out all socket information about the data file. For example:

     % fc2xg VR555_???.dat > /dev/null
      First port 1025 1901
      1 new port 1026 1901
      2 new port 1027 1901
      3 new port 1028 1901
      4 streams: out of order seq = 28 of 3847 (6168-2321) bad ack 0
       719 ack for data stream  1 (port 1025 1901)
       670 ack for data stream  2 (port 1026 1901)
       482 ack for data stream  3 (port 1027 1901)
       450 ack for data stream  4 (port 1028 1901)
     

fc2xg shows that this data file contains 4 TCP streams from source ports 1025-1028 to destination port 1901. According to this information, user can select which stream to graph. For example:

     % fc2xg -sn -s 3 -n 2 VR555_???.dat | xgraph -m -nl
     

This example will graph sequence numbers (-sn) of two TCP streams (-n 2) starting from stream number 3 (-s 3). That is, streams 3 and 4 (source port 1027 and 1028) will be displayed. If the captured data contains non TCP traffic, "-all" option needs to be used. Common options:

     -all    process all type of traffics.
     -agt    plot aggregated throughput (all traffics) with 10 ms window.
     -bits   plot packet size.
     -sn     plot sequence number (TCP only).
     

For more options, use -help.