Skip to content
Snippets Groups Projects
Commit 64b660c4 authored by Per Cederqvist's avatar Per Cederqvist
Browse files

Print the most stale and freshest job per partition.

* lysrdiff-status: Do it.
parent c2a011c9
No related branches found
No related tags found
No related merge requests found
2006-12-19 Per Cederqvist <ceder@sedesopim.lysator.liu.se> 2006-12-19 Per Cederqvist <ceder@sedesopim.lysator.liu.se>
Print the most stale and freshest job per partition.
* lysrdiff-status: Do it.
Print job number when holding or stopping. Print job number when holding or stopping.
* backup-all: Print job number and total number of jobs when * backup-all: Print job number and total number of jobs when
stopping or holding. stopping or holding.
......
...@@ -34,6 +34,20 @@ echo Top 5 most stale backups: ...@@ -34,6 +34,20 @@ echo Top 5 most stale backups:
echo echo
grep -h -- '-start$' $statecache-* | sort | head -5 grep -h -- '-start$' $statecache-* | sort | head -5
echo echo
echo Most stale per part:
echo
for i in $statecache-*
do
grep -h -- '-start$' $i | sort | head -1
done
echo
echo Freshest per part:
echo
for i in $statecache-*
do
grep -h -- '-start$' $i | sort | tail -1
done
echo
echo All unfinished backup attempts: echo All unfinished backup attempts:
echo echo
grep -h -- '-attempt$' $statecache-* | sort | head -5 grep -h -- '-attempt$' $statecache-* | sort | head -5
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment