Merge pull request #2309 from mitza-oci/warnings
[ACE_TAO.git] / TAO / performance-tests / Protocols / show_sctp_params.sh
blobcace92853d604e49e90f0d46d1cd2ec780c6c25f
1 #!/bin/sh
4 max_len=24
5 pushd /proc/sys/net/ipv4 &> /dev/null
6 echo "SCTP Parameters"
7 for i in `ls sctp_*`; do
8 ct=0
9 tmp_len=`echo ${i} | wc -m`
10 let "tmp_len=tmp_len-1"
11 let "spaces=${max_len}-${tmp_len}"
12 echo -n " $i:"
13 while [ ${ct} -lt ${spaces} ]; do
14 echo -n " "
15 let "ct=${ct}+1"
16 done
17 cat $i
18 done
19 echo