GenericMappingTools / gmtserver-admin

Cache data and script for managing the GMT data server
GNU Lesser General Public License v3.0
7 stars 3 forks source link

Script to count files on a server or your staging area #242

Closed PaulWessel closed 9 months ago

PaulWessel commented 9 months ago

Run scripts/srv_staging_vs_candidate.sh staging to get a total count of the number of files under that dir, and run the same script with the path to the relevant server dir on the gmtserver. if the counts differ then probably the scp job timed up due to excessive Internet traffic! I get (with staging dir full):

scripts/srv_staging_vs_candidate.sh staging
Found a total of 12740 files for 23 data sets
Log file is /Users/pwessel/dataset.log

while on the server I get [not update yet of course]

/export/gmtserver/gmt/gmtserver-admin/srv_staging_vs_candidate.sh server            
Found a total of 12250 files for 23 data sets
Log file is /export/gmtserver/pwessel/dataset.log

runningplace-earth-gebo now.