search for: crit3

Displaying 2 results from an estimated 2 matches for "crit3".

Did you mean: crit
2012 Aug 04
2
find errors in a directory of files
...ames of the files ahead of time traditional plugins like check_logs or check_logfiles.plwon't work. Here's what I was able to come up with: #!/bin/bash log1='/u01/app/oracle/admin/ecom/udump/*' crit1=($(grep 'ORA-00600' $log1)) crit2=($(grep 'ORA-04031' $log1)) crit3=($(grep 'ORA-07445' $log1)) if [ $crit1 ] ; then echo "$crit1 on ecom1" status=2 elif [ $crit2 ]; then echo "$crit2 on ecom1" status=2 elif [ $crit3 ]; then echo "$crit3 on ecom1" status=2 fi echo $status exit $status This is a v...
2009 Feb 13
0
lists on a script
...),j],frequency=12,start=c(a,mes))}}; That's the first part, then ind4<-integer(); for (m in setdiff(diff,ind3)){ nn<-length(foo[[m]]); prinf<-median(foo[[m]][1:12]); prsup<-median(foo[[m]][(nn-12):nn]); if (xor((prsup/prinf)>s,(prinf/prsup)>s)) {ind4<-c(ind4,m)}}; crit3<<-ind4; So far so good (aparently). I mean, the "crit3" set it's ok. But, the next paragraph: ind5<-integer(); for (k in ind4){ print(k); #to know when the error happens dife<-numeric(); l<-length(foo[[k]]); print(l); print(foo[[K]]) #to know w...