Changeset 42314 for trunk/tools/eam/rebalance/rsync.check.logs.sh
- Timestamp:
- Dec 1, 2022, 11:15:58 AM (4 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
r41746 r42314 1 1 #!/bin/csh 2 2 3 set version = 20210702 3 set run = v2 4 set version = 20220922 4 5 5 6 set showlist = 0 … … 22 23 echo "--- volume 0 ---" 23 24 if ($showlist) then 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"25 cat /data/$myhost.0/nebulous/??/rebalance/movefiles.$version.$run.chk.log | grep -v "total size" | grep -v "building file list" | grep -v "bytes received" | grep -v '^../$' | grep -v '^$' 26 cat /data/$myhost.0/nebulous/??/rebalance/movefiles.$version.$run.chk.log | grep "No such file or directory" 26 27 else 27 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 -l28 cat /data/$myhost.0/nebulous/??/rebalance/movefiles.$version. chk.2.log | grep "No such file or directory" | wc -l28 cat /data/$myhost.0/nebulous/??/rebalance/movefiles.$version.$run.chk.log | grep -v "total size" | grep -v "building file list" | grep -v "bytes received" | grep -v '^../$' | grep -v '^$' | wc -l 29 cat /data/$myhost.0/nebulous/??/rebalance/movefiles.$version.$run.chk.log | grep "No such file or directory" | wc -l 29 30 endif 30 31 31 32 echo "--- volume 1 ---" 32 33 if ($showlist) then 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"34 cat /data/$myhost.1/nebulous/??/rebalance/movefiles.$version.$run.chk.log | grep -v "total size" | grep -v "building file list" | grep -v "bytes received" | grep -v '^../$' | grep -v '^$' 35 cat /data/$myhost.1/nebulous/??/rebalance/movefiles.$version.$run.chk.log | grep "No such file or directory" 35 36 else 36 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 -l37 cat /data/$myhost.1/nebulous/??/rebalance/movefiles.$version. chk.2.log | grep "No such file or directory" | wc -l37 cat /data/$myhost.1/nebulous/??/rebalance/movefiles.$version.$run.chk.log | grep -v "total size" | grep -v "building file list" | grep -v "bytes received" | grep -v '^../$' | grep -v '^$' | wc -l 38 cat /data/$myhost.1/nebulous/??/rebalance/movefiles.$version.$run.chk.log | grep "No such file or directory" | wc -l 38 39 endif 39 40
Note:
See TracChangeset
for help on using the changeset viewer.
