Aaron Kulkis wrote:
ah... ionice seems to be a new invention.
I'll give it a try when I build a new system this month.
---
        I just checked suse10.2 packages...

        If you have the "ionice" program (/usr/bin/ionice) installed
under SuSE-10.3 OR -10.2, daily beagle indexing will automatically use it
to set the beagle-indexing process to lowest (idle) priority using
the command format "ionice -c 3".  The relevant lines in file
/etc/cron.daily/beagle-crawl-system (fr suse10.3, beagle-0.2.12-28):
lines 65-70:
 65             IONICE=`which ionice 2>/dev/null`
 66             if [ -n "$IONICE" ]; then
 67                 IONICE="$IONICE -c 3"
 68             fi
 69
 70             eval nice -n 19 $IONICE su -s /bin/bash $CRAWL_USER -c \"MONO_SH
    ARED_DIR=$MONO_SHARED_DIR /usr/sbin/beagle-build-index --target /var/cache/b
    eagle/indexes/$CRAWL_INDEX_NAME $OPTIONS $CRAWL_PATHS\" > /dev/null 2>&1
 71         fi


(don't know about 10.1, SLED, or 10.0 as I don't have those packages locally
accessible, but shouldn't be too hard for someone to verify)...

Linda


--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to