How are two processes running on two different terminal's tabs are different from when they run on the same terminal tab? If both processes are running on same CPU core, how CPU time will be assigned to them if both processes start together in Linux system (Ubuntu) {For both cases, on same and different terminal's tab}.
# ./process1.sh& # Running in a terminal tab
# ./process2.sh # Running in the same terminal tab where previous one is running in background
Assuming both processes are running for time, enough for looking at the CPU usage by these two processes.