backup...

This commit is contained in:
Louwrentius 2010-02-18 19:47:39 +00:00
parent cda2c7b5c1
commit a63973fe73
2 changed files with 3 additions and 3 deletions

4
ppss
View File

@ -1715,7 +1715,7 @@ show_status () {
then then
ITEMS=`exec_cmd "ls -1 $SRC_DIR | wc -l"` ITEMS=`exec_cmd "ls -1 $SRC_DIR | wc -l"`
else else
ITEMS=`exec_cmd "cat $PPSS_DIR/$INPUT_FILE | wc -l"` ITEMS=`exec_cmd "cat $PPSS_HOME_DIR/$INPUT_FILE | wc -l"`
fi fi
PROCESSED=`exec_cmd "ls -1 $ITEM_LOCK_DIR | wc -l"` 2>&1 >> /dev/null PROCESSED=`exec_cmd "ls -1 $ITEM_LOCK_DIR | wc -l"` 2>&1 >> /dev/null
@ -1752,7 +1752,7 @@ show_status () {
STATUS="UNKNOWN" STATUS="UNKNOWN"
RES=0 RES=0
fi fi
let PROCESSED=$PROCESSED+$RES let PROCESSED="$PROCESSED+$RES"
LINE=`echo "$x $NODE $RES $STATUS" | awk '{ printf ("%-16s %-18s % 10s %10s\n",$1,$2,$3,$4) }'` LINE=`echo "$x $NODE $RES $STATUS" | awk '{ printf ("%-16s %-18s % 10s %10s\n",$1,$2,$3,$4) }'`
log DSPLY "$LINE" log DSPLY "$LINE"
done done

View File

@ -1,7 +1,7 @@
#!/bin/bash #!/bin/bash
DEBUG="$1" DEBUG="$1"
VERSION="2.56b3" VERSION="2.56b4"
TMP_DIR="ppss" TMP_DIR="ppss"
PPSS=./ppss PPSS=./ppss
PPSS_DIR=ppss_dir PPSS_DIR=ppss_dir