lab4 Process
  • Introduction
  • Knowing about process
    • Checking System Process
    • Process Identification
  • Let's Fork! Process Creation
    • Background of Process Creation
    • fork system call
    • Distinguish Parent and Child Process
    • Exercises
  • Process Execution
    • First exec example
    • Environment Variables
    • exec Family
    • exec Family: execlp
    • exec Family: execle
    • exec Family: execv
    • exec Family: execvp
    • exec Family: execve
    • exec error handling
  • Wait!
    • Problem 1: Without Wait?
    • Sleep
    • Problem 2: Zombies!
    • Wait System Call
    • waitpid
Powered by GitBook
On this page

Was this helpful?

Introduction

After you complete writing a program and would like to execute it, the "running instance" of your program is called Process.

In this tutorial, you will learn more about the process:

  • Process ID

  • Create a process

  • Execute a program

Try to play around with them!

By Calvin Kam (hckam@cse), Jiani ZHANG (jnzhang@cse), modified by Yiyao MA (yyma23@cse.cuhk.edu.hk).

NextKnowing about process

Last updated 4 months ago

Was this helpful?