Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

For all metrics with 100Byte pings by node

 $mkdir /afs/slac/public/users/cottrell/metrics-100-by-node 

$cp -v /nfs/slac/g/net/pinger/pingerreports/hep/*/*-100-by-node* /afs/slac/public/users/cottrell/metrics-100-by-node

 $tar -cvzf /afs/slac/public/users/cottrell /archive-average_rtt-100-by-node.tar /afs/slac/public/users/cottrell/average_rtt-100-by-node/average_rtt-100-by-nodemkdir

However:

 $ls /nfs/slac/g/net/pinger/pingerreports/hep/*/*-100-by-node*

/bin/ls: Argument list too long.
Exit 1

So following the guidance in http://www.linuxjournal.com/article/6060 we could try to write a script:

function large_cp ()
{       while read line1; do
                cp -v directory/$line1 /afs/slac/public/users/cottrell/metrics-100-by-node
        done
}
ls -1 directory/ | large_cp


Retrieving

See http://www-iepm.slac.stanford.edu/pinger/tools/retrievedata.html