You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
32 lines
790 B
32 lines
790 B
4 weeks ago
|
#!/usr/bin/bash
|
||
|
|
||
|
ERFOLG_LOG=/home/superx/db/module/erfolg/L_ERFOLG_update.log
|
||
|
GANG_LOG=/home/superx/db/module/gang/L_GANG_update.log
|
||
|
ZUL_LOG=/home/superx/db/module/zul/L_ZUL_update.log
|
||
|
QA_LOG=/home/superx/db/module/qa/L_QA_update.log
|
||
|
SOS_LOG=/home/superx/db/module/sos/L_SOS_update.log
|
||
|
COSTAGE_LOG=/home/superx/db/module/costage/L_COSTAGE_update.log
|
||
|
|
||
|
logs=""
|
||
|
|
||
|
if [ -f $ERFOLG_LOG ]; then
|
||
|
logs="$logs $ERFOLG_LOG"
|
||
|
fi
|
||
|
if [ -f $GANG_LOG ]; then
|
||
|
logs="$logs $GANG_LOG"
|
||
|
fi
|
||
|
if [ -f $ZUL_LOG ]; then
|
||
|
logs="$logs $ZUL_LOG"
|
||
|
fi
|
||
|
if [ -f $QA_LOG ]; then
|
||
|
logs="$logs $QA_LOG"
|
||
|
fi
|
||
|
if [ -f $SOS_LOG ]; then
|
||
|
logs="$logs $SOS_LOG"
|
||
|
fi
|
||
|
if [ -f $COSTAGE_LOG ]; then
|
||
|
logs="$logs $COSTAGE_LOG"
|
||
|
fi
|
||
|
|
||
|
awk -f laderoutine.awk $logs | sort -r -b -k 2.7,2.10 -k 2.4,2.5 -k 2.1,2.2 -k 3.1,3.2 -k 3.4,3.5 -k 3.7,3.8
|