I have to run a script in 100 parts while making sure that only 10 parts run at parallel at any point of time.
Below script will trigger all the 100 processes at the same time :-
for i in {1..100}
do
nohup ksh my_background_script.ksh -mod ${i} &
done