run_quantify_faults.sh from EmStar at Krugle
Show run_quantify_faults.sh syntax highlighted
DATA_FILES="data_files";
mkdir $DATA_FILES
rm $DATA_FILES/out;
for file in `ls group*/sars.log`; do perl quantify_faults.pl $file >> $DATA_FILES/out; done
echo "#Type Latency False-Positives Suppressions Injection-Time" > $DATA_FILES/conf_times.txt
echo "C 0 0" >> $DATA_FILES/conf_times.txt
echo "#Type Latency False-Positives Suppressions Injection-Time" > $DATA_FILES/symp_times.txt
echo "S 0 0" > $DATA_FILES/symp_times.txt
grep "^C" $DATA_FILES/out | sort -g -t' ' -k 2 >> $DATA_FILES/conf_times.txt
grep "^S" $DATA_FILES/out | sort -g -t' ' -k 2 >> $DATA_FILES/symp_times.txt
See more files for this project here
EmStar is a software system for developing and deploying wireless sensor networks involving Linux-based platforms. As the wireless sensor network community has attempted to deploy more complex designs---large-scale, long-lived systems that need self-organization and adaptivity---a number of difficult software design issues have arisen. Advances in software design have not kept pace with the capabilities of hardware. This is because designing for an adaptive, efficient, and useful sensor network has turned out to be surprisingly complex and difficult. EmStar is a Linux-based software framework, whose goal is to dramatically reduce this complexity, enabling work to be shared and reused, and simplifying and speeding the design of new sensor network applications.
Project homepage:
http://cvs.cens.ucla.edu/emstar/
Programming language(s): C,Shell Script
License: other
cars.pl
change_node_status
quantify_faults.pl
run_quantify_faults.sh
take_actions