Hi!
> -EXECUTABLES=${EXECUTABLES:-"member"}
> -NUMLOOPS=${NUMLOOPS:-2}
> -INTERFACE=${INTERFACE:-$(mc_gethost `hostname`| grep address |awk '{ print
> $2 }')}
> +INTERFACE=${INTERFACE:-$(mc_gethost `hostname`|grep address|awk '{ print $2
> }')}
> GLIST=${GLIST:-$TCsrc/ManyGroups}
> TooManyGLIST=${TooManyGLIST:-$TCsrc/TooManyGroups}
These two files should be ideally treated as datafiles.
> + tst_resm TINFO "doing test."
> +
> + COUNT=1
> + while [ $COUNT -le 2 ]
> + do
> + # Run setsockopt test with bogus network
> + get_address
> + tst_resm TINFO "Running mc_member_e on $ADDRESS"
> + member -j -g $GLIST -s 30 -i $ADDRESS >/dev/null 2>&1
And the member binary should have reasonably unique name (because all
binaries are installed into single directory). I woudl rename it to
something as mc_member_helper or similar.
--
Cyril Hrubis
[email protected]
------------------------------------------------------------------------------
Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
http://p.sf.net/sfu/Zoho
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list