Process Model and IPC Interview questions

Total available count: 17
Subject - Operating System
Subsubject - Process Model and IPC

List the system calls used for process management?

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.

Next 5 interview question(s)

How can you get/set an environment variable from a program?
How can a parent and child process communicate?
What is a zombie?
What are the process states in Unix?
What happens when you execute a program?