Created
May 25, 2018 18:47
-
-
Save mcritchlow/8099417d5ea6a69488bf51406853fb5e to your computer and use it in GitHub Desktop.
DAMSPAS Load test
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
files_to_download=( | |
"https://librarytest.ucsd.edu/dc/object/bb8022051s/_2.mp4/download" | |
"https://librarytest.ucsd.edu/dc/object/bb8977691g/_2.mp4/download" | |
"https://librarytest.ucsd.edu/dc/object/bb55983863/_1.pdf/download" | |
"https://librarytest.ucsd.edu/dc/object/bb38236288/_1.pdf/download" | |
"https://librarytest.ucsd.edu/dc/object/bb2015477n/_1.pdf/download" | |
) | |
# run tests | |
# setting jobs to 0 will run as many jobs as possible concurrently | |
parallel --jobs 0 --joblog damspas-load.log wget ::: ${files_to_download[*]} | |
# clean up | |
rm download* |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment