repo.or.cz
/
ACE_TAO.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Changes to attempt to silence bcc64x
[ACE_TAO.git]
/
TAO
/
performance-tests
/
Protocols
/
show_sctp_params.sh
blob
cace92853d604e49e90f0d46d1cd2ec780c6c25f
1
#!/bin/sh
2
3
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