If you wish to measure the progress of your containers just edit these two items:
- Change the _f100 variable on line 6 to number of your total containers produced by your command or commands (see line 21)
- Change the command on line 21 to the command or commands used to start your containers and append > /dev/null 2>&1 & to each one
To see examples: http://thekettlemaker.com/progressbar.html
Progress: [░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░] 100%
If you wish to measure the progress of different APIs, then change these four items:
- Change the command on line 24 to your command or commands used to start your containers and append > /dev/null 2>&1 & to each one
- Change the y variable on line 8 to number of your total containers produced by your command or commands (see line 24)
- Change the _f100 varible on line 7 to include the total containers + total APIs
- Change the command used to test API status on line 46 and change the filter to look for "ready" messages
This video will walk you thru it! https://www.youtube.com/watch?v=VxmL_6eX7Pw
user@host$ sudo ./tar.sh
205MiB 84MiB/s 00:02 [========================================>] 100% ETA 2
To use this with your file:
- Replace your the extracted file size "MB" with yours on line 8 "_f100"
- Replace the tar file on lines 9 and 21
- Replace the extracted directory name on line 38
- Run the script as "root"
user@host$ sudo ./atar.sh your.tar.gz
205MiB 84MiB/s 00:02 [========================================>] 100% ETA 2
- Pass your tar as an argument to the script!
YouTube videos will follow shortly for the tar examples : )