How OS loads process in memory to execute ?


 
Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users How OS loads process in memory to execute ?
# 1  
Old 03-05-2010
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
# 2  
Old 03-05-2010
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?
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Process to read a new file entry and execute a command

I need to develop a process/daemon which will constantly monitor a file for new entry and execute a command. for eg, there is a file /var/log/inotify.log When a new entry like below gets appeneded to this file, execute the command as follows. /home/user/public_html/bad.php|CREATE ... (2 Replies)
Discussion started by: anil510
2 Replies

2. Linux

How execute exactly one process?

Hi everyone , i'm working with extremely precision timers in a project but i cant get all the precision that i need 'cause the scheduler and other processes use the processor at "the same time" (multiplexing) and 1ms isn't a 1ms is more or less 1ms . There is some way to execute only a process and... (3 Replies)
Discussion started by: bacesado
3 Replies

3. Solaris

[DOUBT] Memory high in idle process on Solaris 10 (Memory Utilization > 90%)

Hi Experts, Our servers running Solaris 10 with SAP Application. The memory utilization always >90%, but the process on SAP is too less even nothing. Why memory utilization on solaris always looks high? I have statement about memory on solaris, is this true: Memory in solaris is used for... (4 Replies)
Discussion started by: edydsuranta
4 Replies

4. Emergency UNIX and Linux Support

CPU and memory utilization of a process, by process name

Can someone please help me with a script that will help in identifying the CPU & memory usage by a process name, rather than a process id.This is to primarily analyze the consumption of resources, for performance tweaking. G (4 Replies)
Discussion started by: ggayathri
4 Replies

5. Shell Programming and Scripting

To execute next UNIX command after ending SFTP process.

Hi, I am trying to run a simple UNIX command after i successfully executed SFTP command as shown below. ----------------------------------------- echo 'Step-1' sftp -vvv -b path exit echo 'Step-2' ------------------------------------------ In above script it executes from the 1st... (3 Replies)
Discussion started by: gautamc
3 Replies

6. AIX

Process using the most memory

Hi:- Is there an easy way to find out which process is consuming the most memory on an AIX server? Thanks, (5 Replies)
Discussion started by: janet
5 Replies

7. HP-UX

How to find memory used by a process

Hi, Can anyone help me out in writing the shell scrip which monitors a process which is running and gives me the output of the memory being used by the process, I have the requirement of monitorig the memory usage of the process when it is running. Please help me out (3 Replies)
Discussion started by: vijayagiri
3 Replies

8. Shell Programming and Scripting

Memory in Use by a process

How do I find the amount of memory being consumed by a particular process on AIX 5L.. Thank you (0 Replies)
Discussion started by: khopdi
0 Replies

9. UNIX for Dummies Questions & Answers

Memory used by a process

Hello all 'top' command shows the top 15 processes in terms of CPU usage. Is there any other command in UNIX ,that will show the top processes in terms of memory usage ? or is there a command, that will give me the memory usage of a particular process ,if I pass the process id as a... (3 Replies)
Discussion started by: luft
3 Replies

10. UNIX for Dummies Questions & Answers

Memory used by a particular process

how to get memory used by a particular process in unix? (3 Replies)
Discussion started by: superprogrammer
3 Replies
Login or Register to Ask a Question