#!bin/bash
##
##
CT=`date |
linuxjishu/13830.html target=_blank class=infotextkey>awk -F " " '{print $6}'| cut -c 3,4`
DATE=`date +"$CT"%m%d`
TIME=`date +%H:`
HNAME=`
hostname`
echo $DATE $TIME
cat db140.iqnode.cn.err|grep "$DATE"|grep "$TIME"|grep "ERROR"
if [ $? == 1 ];then
echo "well"
else
echo "bad"
fi