I'm running a mrjob python script, and in the command line I can pass the number of cores for the system to use.
python example_script.py --num-cores 5
I'm looking to run the script for n number of cores for beach marking performance test. IE: I want to run it for 1 core, 2 core etc.
Is there anyway I can write a loop directly into the command line rather then having to write out the whole command n number of times?