Wednesday, September 23, 2015

Explain each system calls used for process management in linux ?

Process management uses certain system calls. 

They are explained below.

1. fork () is used to create a new process.
2. exec () is used to run a new program.
3. wait () is used to make the process to wait.
4. exit () is used to terminate the process.
5. getpid () is used to find the unique process id.
6. getppid () is used to find the parent process id.
7.  nice () is used to bias the currently running process property.

No comments:

Post a Comment