For some reason we are not sorting the files even though the script says we are. Try to get a result to find out why
Signed-off-by: Stephen Smoogen <ssmoogen@redhat.com>
This commit is contained in:
parent
3e4a02a427
commit
bb9864402f
1 changed files with 4 additions and 1 deletions
|
@ -85,10 +85,13 @@ fi
|
|||
# stuck and you end up with days or weeks of data in a single
|
||||
# file. Doing a continual sort clears up that.
|
||||
|
||||
sort -o ${WORKFILE} -u ${WORKFILE}
|
||||
|
||||
sort -o ${WORKFILE} -u ${WORKFILE} -S4G
|
||||
simple_message_to_bus condense-mirrorlogs.mirrorlist.sort workfile="$WORKFILE" logfile="$LOGFILE" result="$?"
|
||||
sort -o ${WORKDIR}/${YEAR}/out-${YEAR}-${MONTH} -S 8G -T /tmp -u ${WORKDIR}/${YEAR}/out-${YEAR}-${MONTH} ${WORKFILE}
|
||||
sort -o ${WORKDIR}/out-${YEAR} -S 8G -T /tmp -u ${WORKDIR}/out-${YEAR} ${WORKFILE}
|
||||
|
||||
|
||||
# Because the logs stop at 04:00 we can only get 24 hours from 6 days before.
|
||||
###
|
||||
### FIXME: This breaks around the new year.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue