Comment 5 for bug 1172317

Revision history for this message
Daniel Nichter (daniel-nichter) wrote : Re: pt-sift not compatible with pt-stalk (if disk full)

Correct:

-disk-space files are from:

disk_space "$OPT_DEST" > "$OPT_DEST/$prefix-disk-space"
            check_disk_space \
               "$OPT_DEST/$prefix-disk-space" \
               "$OPT_DISK_BYTES_FREE" \
               "$OPT_DISK_PCT_FREE" \
               "$margin"

-df files are from a collection:

      (echo $ts; df -k) >> "$d/$p-df" &

So the attached branch looks good: there may not be -df or other collection files if other things go wrong, but there should always be an -output file for every collection because of:

               (
                  collect "$OPT_DEST" "$prefix"
               ) >> "$OPT_DEST/$prefix-output" 2>&1 &

I.e. collect = -output file even if the collection immediately dies. So I'll merge the branch. Thanks for the fix, Daniel!