config root man

Current Path : /usr/src/tools/tools/netrate/tcpp/

FreeBSD hs32.drive.ne.jp 9.1-RELEASE FreeBSD 9.1-RELEASE #1: Wed Jan 14 12:18:08 JST 2015 root@hs32.drive.ne.jp:/sys/amd64/compile/hs32 amd64
Upload File :
Current File : //usr/src/tools/tools/netrate/tcpp/parallelism.csh

#!/bin/csh
#
# $FreeBSD: release/9.1.0/tools/tools/netrate/tcpp/parallelism.csh 209429 2010-06-22 10:46:57Z rwatson $
#
# Run tcpp -s -p 8 on the server, then this on the client.
#
# Note awkwardly hard-coded IP address below.
#
# Accepts two arguments: [filename] [csvprefix]
#

set totalbytes=4800000		# Bytes per connection
set cores=8
set trials=6
set ptcps=24			# Max TCPs concurrently
set ntcps=240			# Total TCPs over test
set nips=4			# Number of local IP addresses to use
set baseip=192.168.100.200	# First IP address to use

foreach core (`jot $cores`)
  foreach trial (`jot $trials`)
    set mflag=`echo $ptcps / $core | bc`
    set tflag=`echo $ntcps / $core | bc`
    echo -n $2,${core},${trial}, >> $1
    ./tcpp -c 192.168.100.102 -p $core -b $totalbytes -m $mflag \
      -t $tflag -M $nips -l $baseip >> $1
  end
end

Man Man