*** psarc.flowstat	2010-02-26 10:02:07.375039735 -0800
--- flowstat.1m.txt	2010-02-26 10:03:50.023934180 -0800
***************
*** 5,12 ****
  
  SYNOPSIS
       flowstat [-r | -t] [-i interval] [-l link] [flow]
!      flowstat [-i interval] [-p] [ -o field[,...]] [-u b|B|K|M|G|T|P]
!           [-l link] [flow]
       flowstat -h [-a] -f filename [-d] [-F format] [-s time]
            [-e time] [flow]
  
--- 5,12 ----
  
  SYNOPSIS
       flowstat [-r | -t] [-i interval] [-l link] [flow]
!      flowstat [-S] [-A] [-i interval] [-p] [ -o field[,...]]
!           [-u R|K|M|G|T|P] [-l link] [flow]
       flowstat -h [-a] -f filename [-d] [-F format] [-s time]
            [-e time] [flow]
  
***************
*** 44,53 ****
               or stats for the named flow.
  
  
!      flowstat [-i interval] [-p] [ -o field[,...]] [-u b|B|K|M|G|T|P]
!           [-l link] [flow]
  
! 	 Supports choosing specific statistics to display.
  
       	 -i interval
  	
--- 44,61 ----
               or stats for the named flow.
  
  
!      flowstat [-S] [-A] [-i interval] [-p] [ -o field[,...]]
!           [-u R|K|M|G|T|P] [-l link] [flow]
  
! 	 -S 
! 	     Continuously display network utilization by flow in a manner
! 	     similar to the way that prstat(1M) displays CPU utilization
! 	     by process.
! 
! 	 -A 
!              Dump all stat fields for this flow. Output stats of
!              this command are inclusive of all the stats reported by
!              all other flowstat commands.
  
       	 -i interval
  	
***************
*** 67,90 ****
  
  	     List of supported rx fields: 
  	         flow 
- 		 link
- 		 ibytes
  		 ipkts
! 		 intrs
! 		 polls
  
  	     List of tx side fields: 
  		 flow
! 		 link
  		 obytes
! 		 opackets
! 		 oerrors
  
!     	 -u b|B|K|M|G|T|P
  	
               Without this option, stats are outputted in format xy.zU where
               x, y, z are numbers while U is appropriate unit. -u lets us
!              choose unit viz. b:bits, B:bytes, K:Kilobits, M:Megabits,... etc. 
  
           -l link | flow
  
--- 75,95 ----
  
  	     List of supported rx fields: 
  	         flow 
  		 ipkts
! 		 rbytes
! 		 ierrs
  
  	     List of tx side fields: 
  		 flow
! 		 opkts
  		 obytes
! 		 oerrs
  
!           -u R|K|M|G|T|P
  	
               Without this option, stats are outputted in format xy.zU where
               x, y, z are numbers while U is appropriate unit. -u lets us
!              choose unit viz. R:Raw numbers, K:Kilo, M:Mega,... etc. 
  
           -l link | flow
  
***************
*** 146,203 ****
       To display statistics for all the flows, enter following
       command. Statistics are displayed as 3 digit numbers with 
       appropriate unit. Default interval is one second.
!      
! 	# flowstat
! 	FLOW     LINK  IPKTS IBYTES OPKTS  OBYTES  UTIL
!         flow1    bge0  21.2K   2.1M  0.5K   44.2M  0.0%
! 	flow2    nxge0 24.5M  13.6G  3.5M    0.1G  0.0%
! 	flow3    nxge0  0.0M  0.0M    0.0M  0.0%
! 	FLOW     LINK  IPKTS IBYTES OPKTS  OBYTES  UTIL
!         flow1    bge0  21.2K   2.1M  0.5K   44.2M  0.0%
! 	flow2    nxge0 24.5M  13.6G  3.5M    0.1G  0.0%
! 	flow3    nxge0  0.0M   0.0M  0.0M    0.0M  0.0%
!             .        .      .    .      .       .    .
!             .        .      .    .      .       .    .
!             .        .      .    .      .       .    .
  
       Example 2 Display rx side statistics
  
! 	# flowstat -r 
! 	FLOW	 LINK  IPKTS IBYTES DRPS
!         flow1	nxge0  21.2K   2.1M  0.0
! 	flow2	nxge0  24.5M  13.6G  0.0
! 	flow3   nxge0  24.5M  13.6G  0.0
  
       Example 3 Display tx side statistics
  
!      To display Tx side statistics after every 5 seconds:
! 
! 	# flowstat -t -i 5
! 	FLOW	  LINK OBYTES  OPKTS  DRPS
! 	flow1	 nxge0    0.0    0.0   0.0
! 	flow2    nxge0    0.0    0.0   0.0
! 	flow3    nxge0    0.0    0.0   0.0
! 	FLOW	  LINK OBYTES  OPKTS  DRPS
! 	flow1	 nxge0    0.0    0.0   0.0
! 	flow2    nxge0    0.0    0.0   0.0
! 	flow3    nxge0    0.0    0.0   0.0
! 	FLOW	  LINK OBYTES  OPKTS  DRPS
! 	flow1	 nxge0    0.0    0.0   0.0
! 	    .        .      .      .     .
! 
!      Example 4 Choosing to display statistics of interest
! 
!      Following command will display a group of statistics fields.
! 
! 	# flowstat -o FLOW,LINK,IPKTS
! 	FLOW     LINK  IPKTS
!         flow1    bge0  21.2K
! 	flow2    nxge0 24.5M
! 	flow3    nxge0  0.0M
  
       Example 5 Show historical network usage
  
!      FLow usage statistics can be stored using the extended accounting
       facility, acctadm(1m).
  
  	# acctadm -e extended -f /var/log/net.log net
--- 151,198 ----
       To display statistics for all the flows, enter following
       command. Statistics are displayed as 3 digit numbers with 
       appropriate unit. Default interval is one second.
! 
! 	# flowstat -i 1
!            FLOW   IPKTS  RBYTES   IERRS   OPKTS  OBYTES   OERRS
!           flow1 528.54K 787.39M       0 179.39K  11.85M       0
!           flow2 742.81K   1.10G       0       0       0       0
!           flow3       0       0       0       0       0       0
!           flow1  67.73K 101.02M       0  21.04K   1.39M       0
!           flow2       0       0       0       0       0       0
!           flow3       0       0       0       0       0       0
!               .       .       .       .       .       .       .
!               .       .       .       .       .       .       .
!               .       .       .       .       .       .       .
  
       Example 2 Display rx side statistics
  
! 	# flowstat -r
!            FLOW   IPKTS  RBYTES   IERRS
!           flow1   4.01M   5.98G       0
!           flow2 742.81K   1.10G       0
!           flow3       0       0       0
  
       Example 3 Display tx side statistics
  
! 	# flowstat -t
!            FLOW   OPKTS  OBYTES   OERRS
!           flow1  24.37M   1.61G       0
!           flow2       0       0       0
!           flow3       4     216       0
! 
!      Example 4 Display only specified statistics of interest
! 
!      The following command will display a group of statistics fields.
! 
! 	# flowstat -o FLOW,IPKTS
!            FLOW   IPKTS
!           flow1  68.58M
!           flow2 742.81K
!           flow3       4
  
       Example 5 Show historical network usage
  
!      Flow usage statistics can be stored by using the extended accounting
       facility, acctadm(1m).
  
  	# acctadm -e extended -f /var/log/net.log net
***************
*** 210,220 ****
       The saved historical data can be retrieved in summary form using:
  
  	# flowstat -h -f /var/log/net.log
!         LINK      DURATION  IPACKETS RBYTES      OPACKETS OBYTES      BANDWIDTH
          flowtcp   100       1031     546908      0        0            43.76Kbps
!         e1000g0   0         0        0           0        0             0.00Mbps
! 
! 
  
       Display logging information for flowtcp starting at 02/19/2008,
       10:38:46 and ending at 02/19/2008, 10:40:06:
--- 205,213 ----
       The saved historical data can be retrieved in summary form using:
  
  	# flowstat -h -f /var/log/net.log
!         FLOW      DURATION  IPACKETS RBYTES      OPACKETS OBYTES      BANDWIDTH
          flowtcp   100       1031     546908      0        0            43.76Kbps
!         flowudp   0         0        0           0        0            0.00Mbps
  
       Display logging information for flowtcp starting at 02/19/2008,
       10:38:46 and ending at 02/19/2008, 10:40:06:
