Checking if command ran in parallel

Hi,

I am running below code

For I in $var
do
.......some line of code.......
nohup Sqlplus apps/apps <<EOF &
My_proc($I)
Exit
EOF
done

Nohup and & is used for parallel processing.
Can someone help in determining if the procedure with different arguments
Was called paralley or not.

You might want to put a ps -lp$! after the end of the here document.

Could u pls show the syntax..
How can I check if it ran in parallel or not

Use the syntax indicated.
What do you mean by "ran in parallel"? All your processes will be put to background with the same priority/nice value. So CPU time available will be scheduled evenly between them. Still, depending on other resources, or e.g. DB locks, some may execute faster than others. If they run very quickly, one may be finished before the next will be started.