Unix - SuperLoging

<<>>
 
Vista:

SuperLoging

Publicado por SuperIndio (9 intervenciones) el 13/03/2026 20:44:20
type terminal ERRORRRRR!!! environment OFFSET1F00032XX data OF433X54A
sign. datatabase : 1XDATA45
instance name : 1XDATA45SCH 3270 PORT : 4321 TCP port number : 22
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
unset  FECHSYS
unset  HORASYS
if test -f $RESPIB
   then
       rm -f  $RESPIB
fi
touch $RESPIB
chmod 666 $RESPIB
echo -e "Se genera nuevamente el archivo $RESPIB    \n"
echo -e "Start of $JOB_CONTROL"
cd $DIRLOGS/
# tail -n0 -f LOG45IB.RESPIB.log | while read linea
tail -n0 -f $RESPIB | while read linea
do
    if [ -z "$linea" ]
         then
         echo -e "es una linea vacia...."
    else
         NUMERO=`echo $linea | cut -c1-12`
         echo -e "Nueva Linea: $linea    Numero Correlativo: $NUMERO"
         Ejecuta_UpdateSQL
         Hora=`date +'%H'`
         if [[ $Hora -gt 20 ]]
            then
               break;
         fi
    fi
done
Valora esta pregunta
Me gusta: Está pregunta es útil y esta claraNo me gusta: Está pregunta no esta clara o no es útil
0
Responder