Log collector PID.

This commit is contained in:
Daniel Nichter
2012-01-30 10:05:35 -07:00
parent ae558c6442
commit caa91f39fa
2 changed files with 9 additions and 1 deletions

View File

@@ -1091,6 +1091,7 @@ stalk() {
(
collect "$OPT_DEST" "$prefix"
) >> "$OPT_DEST/$prefix-output" 2>&1 &
log "Collector PID $!"
else
# There will not be enough disk space, so do not collect.
warn "Collect canceled because there will not be enough disk space after collecting another $margin MB"