How OS loads process in memory to execute ?

Hi,

I was Googling to get info "How OS loads process into its memory to execute?" i mean when i execute ./<exename> , How OS exectes it?

It will be better if i tell my intention,
In my $LOGNAME saveral process are running, among all of these two process are my target process. Basically I want to tag these two process some how as easily i can manage these two process by C++ code.

Do not want to execute system call frequently.

Any Suggestion/Link?

Rgds,
ashokd

fork() creates a child process, then call exec -- exec, execl, execle, execlp, execv, execve, execvp. The exec calls replace the old copy of the parent image with a new image, loaded from an executable file

Is this what you mean?