Introduction
1.
Knowing about process
1.1.
Checking System Process
1.2.
Process Identification
2.
Let's Fork! Process Creation
2.1.
Background of Process Creation
2.2.
fork system call
2.3.
Distinguish Parent and Child Process
2.4.
Exercises
3.
Process Execution
3.1.
First exec example
3.2.
Environment Variables
3.3.
exec Family
3.4.
exec Family: execlp
3.5.
exec Family: execle
3.6.
exec Family: execv
3.7.
exec Family: execvp
3.8.
exec Family: execve
3.9.
exec error handling
4.
Wait!
4.1.
Problem 1: Without Wait?
4.2.
Sleep
4.3.
Problem 2: Zombies!
4.4.
Wait System Call
4.5.
waitpid
4.6.
Fork Exec Wait
5.
Signals
5.1.
kill system call
5.2.
Custom signal handler
6.
Shell Examples
6.1.
Get Current Path
6.2.
Change Directory
6.3.
Change Environment Variables
6.4.
Argument Array
Published with GitBook
CSCI3150 - Process
Let's Fork!
Here we introduce how to create a process. In this section, you will learn:
The system call
fork
How to distinguish parents and child processes.