cef41d2a9498172c55b5f1d84ba9c0d537515faf rhead Fri Feb 1 16:24:16 2013 -0800 Removed path to bottleneck program (it is in a different location on hgwbeta). diff --git src/utils/qa/checkBOT.csh src/utils/qa/checkBOT.csh index e93ffac..aa1af1c 100755 --- src/utils/qa/checkBOT.csh +++ src/utils/qa/checkBOT.csh @@ -48,31 +48,31 @@ bottleneck -host=$bottleHost list | grep -w -v "0" \ | grep -v "current" | sort -nr -k5 > ipFile$$ set allIPs=`cat ipFile$$ | awk '{print $1}'` cat ipFile$$ echo # get locations (strip off sessionID) set chopIPs=`echo $allIPs | sed "s/ /\n/"g \ | awk -F"." '{print $(NF-3)"."$(NF-2)"."$(NF-1)"."$NF}'` set worst=`echo $chopIPs | awk '{print $1}'` foreach address ( $chopIPs ) set orgName=`whois $address | grep OrgName | sed -e "s/OrgName: //"` > /dev/null set current=`grep -w $address ipFile$$ | awk '{print $5}'` echo "$address\t\t$current\t $orgName" end else - /usr/local/bin/bottleneck -host=$bottleHost list | egrep -w "$ip|current" + bottleneck -host=$bottleHost list | egrep -w "$ip|current" endif echo if ($mode == "terse") then exit 0 endif echo " hits = total number of accesses since started tracking" echo " time = seconds since last hit" echo " max = the most delay time slapped on this source IP, in ms" echo " current = the current delay in milliseconds." echo echo " delay decays at the rate of 10 milliseconds per second" echo ' each new hit adds 150 milliseconds to "current"' echo