Linux - Explain each system calls used for process management in
linux - August 21, 2008 at 22:00 pm by Rajmeet Ghai
Explain each system calls used for process management in linux.
Answer
System calls used for Process management:
-
Fork () :- Used to create a new process
-
Exec() :- Execute a new program
-
Wait():- wait until the process finishes execution
-
Exit():- Exit from the process
-
Getpid():- get the unique process id of the process
-
Getppid():- get the parent process unique id
-
Nice():- to bias the existing property of process
Linux - Explain each system calls used for process management in
linux - May 11, 2009 at 15:00 pm by Vidya Sagar
Explain each system calls used for process management in linux.
Process management uses certain system calls. They are explained below.
1. To create a new process – fork () is used.
2. To run a new program = exec () is used.
3. To make the process to wait = wait () is used.
4. To terminate the process – exit () is used.
5. To find the unique process id – getpid () is used.
6. To find the parent process id – getppid () is used.
7. To bias the currently running process property – nice () is used.
|