UNIX Operating System Question:
Download Questions PDF

List the system calls used for process management in UNIX?

UNIX Operating System Interview Question
UNIX Operating System Interview Question

Answer:

System calls Description
fork() To create a new process
exec() To execute a new program in a process
wait() To wait until a created process completes its execution
exit() To exit from a process execution
getpid() To get a process identifier of the current process
getppid() To get parent process identifier
nice() To bias the existing priority of a process
brk() To increase/decrease the data segment size of a process

Download UNIX Operating System Interview Questions And Answers PDF

Previous QuestionNext Question
Predict the output of the following program code?How can you get/set an environment variable from a program in UNIX?