Commit 84e9559d authored by Per Cederqvist's avatar Per Cederqvist
Browse files

Minor status summary fix.

* lysrdiff-status: Use -mtime instead of -ctime when computing the
  status summary, so that the info is correct even just after users
  have moved from one disk to another.
parent 4b093966
2009-05-25 Per Cederqvist <ceder@shafan.lysator.liu.se>
Minor status summary fix.
* lysrdiff-status: Use -mtime instead of -ctime when computing the
status summary, so that the info is correct even just after users
have moved from one disk to another.
2008-12-04 Per Jonsson <poj@lysator.liu.se>
Updated the config for Lysator.
......
......@@ -21,9 +21,9 @@ do
mv -f $statecache.$disk.$part.$$ $statecache-$disk.$part
echo -n $disk/$part':'
echo -n ' 'Tasks: `wc -l < $base/tasks`
echo -n ' 'Fresh: `find $base/state -name \*--start -ctime 0 -print|wc -l`
echo -n ' '1day: `find $base/state -name \*--start -ctime 1 -print|wc -l`
echo -n ' 'Stale: `find $base/state -name \*--start -ctime +1 -print|wc -l`
echo -n ' 'Fresh: `find $base/state -name \*--start -mtime 0 -print|wc -l`
echo -n ' '1day: `find $base/state -name \*--start -mtime 1 -print|wc -l`
echo -n ' 'Stale: `find $base/state -name \*--start -mtime +1 -print|wc -l`
echo -n ' 'Tot: `ls $base/state/*--end|wc -l`
echo -n ' 'Warn: `find $base/state -name \*--warn -print|wc -l`
echo ' 'Err: `ls $base/state/*--fail 2>/dev/null|wc -l`
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment