Merge pull request #2309 from mitza-oci/warnings
[ACE_TAO.git] / TAO / performance-tests / Protocols / show_lksctp_params.sh
blob6dbe6bf8e78d5d5c41addd0802f626dc78dfc772
1 #!/bin/sh
4 max_len=24
5 pushd /proc/sys/net/sctp &> /dev/null
6 echo "SCTP Parameters"
7 for i in `ls *`; 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