Changeset 41746 for trunk/tools/eam/rebalance/rsync.check.logs.sh
- Timestamp:
- Jul 30, 2021, 2:25:33 PM (5 years ago)
- File:
-
- 1 edited
-
trunk/tools/eam/rebalance/rsync.check.logs.sh (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/tools/eam/rebalance/rsync.check.logs.sh
r41509 r41746 1 1 #!/bin/csh 2 3 set version = 20210702 2 4 3 5 set showlist = 0 … … 20 22 echo "--- volume 0 ---" 21 23 if ($showlist) then 22 cat /data/$myhost.0/nebulous/??/rebalance/movefiles. 20201209.chk.log | grep -v "total size" | grep -v "building file list" | grep -v "bytes received" | grep -v '^../$' | grep -v '^$'23 cat /data/$myhost.0/nebulous/??/rebalance/movefiles. 20201209.chk.log | grep "No such file or directory"24 cat /data/$myhost.0/nebulous/??/rebalance/movefiles.$version.chk.2.log | grep -v "total size" | grep -v "building file list" | grep -v "bytes received" | grep -v '^../$' | grep -v '^$' 25 cat /data/$myhost.0/nebulous/??/rebalance/movefiles.$version.chk.2.log | grep "No such file or directory" 24 26 else 25 cat /data/$myhost.0/nebulous/??/rebalance/movefiles. 20201209.chk.log | grep -v "total size" | grep -v "building file list" | grep -v "bytes received" | grep -v '^../$' | grep -v '^$' | wc -l26 cat /data/$myhost.0/nebulous/??/rebalance/movefiles. 20201209.chk.log | grep "No such file or directory" | wc -l27 cat /data/$myhost.0/nebulous/??/rebalance/movefiles.$version.chk.2.log | grep -v "total size" | grep -v "building file list" | grep -v "bytes received" | grep -v '^../$' | grep -v '^$' | wc -l 28 cat /data/$myhost.0/nebulous/??/rebalance/movefiles.$version.chk.2.log | grep "No such file or directory" | wc -l 27 29 endif 28 30 29 31 echo "--- volume 1 ---" 30 32 if ($showlist) then 31 cat /data/$myhost.1/nebulous/??/rebalance/movefiles. 20201209.chk.log | grep -v "total size" | grep -v "building file list" | grep -v "bytes received" | grep -v '^../$' | grep -v '^$'32 cat /data/$myhost.1/nebulous/??/rebalance/movefiles. 20201209.chk.log | grep "No such file or directory"33 cat /data/$myhost.1/nebulous/??/rebalance/movefiles.$version.chk.2.log | grep -v "total size" | grep -v "building file list" | grep -v "bytes received" | grep -v '^../$' | grep -v '^$' 34 cat /data/$myhost.1/nebulous/??/rebalance/movefiles.$version.chk.2.log | grep "No such file or directory" 33 35 else 34 cat /data/$myhost.1/nebulous/??/rebalance/movefiles. 20201209.chk.log | grep -v "total size" | grep -v "building file list" | grep -v "bytes received" | grep -v '^../$' | grep -v '^$' | wc -l35 cat /data/$myhost.1/nebulous/??/rebalance/movefiles. 20201209.chk.log | grep "No such file or directory" | wc -l36 cat /data/$myhost.1/nebulous/??/rebalance/movefiles.$version.chk.2.log | grep -v "total size" | grep -v "building file list" | grep -v "bytes received" | grep -v '^../$' | grep -v '^$' | wc -l 37 cat /data/$myhost.1/nebulous/??/rebalance/movefiles.$version.chk.2.log | grep "No such file or directory" | wc -l 36 38 endif 37 39
Note:
See TracChangeset
for help on using the changeset viewer.
