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
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
This is just a test file. It measures the extraction progress of a specific tar file.
To use this with your file:
- Replace your tar file with the one specified on line 20
- Replace the extracted file's disk usage in MB on line 7 "_f100"
- Replace the estimated time values on line 23. For me it was "4" seconds. This was determined using time (See below YouTube video)
- Run the script as "root" user
To do's (Allow the script to be used to with any zip file):
- Automate file by passing as argument to script
- Automate determining extracted "Disk Usage".. maybe using gzip or unzip
- Automate ETA
YouTube video will follow shortly : )