SLIDE 1
- Process Control in Unix
Operating Systems Hebrew University Spring 2004
Unix Process Model
- What is a processes?
- Properties of a process
- Processes organization
- Interacting with a process
Resources
- Advanced Programming in the Unix
Environment, Stevens [243.51 St 48]
- POSIX.1 Spec
What is a process
- An entry in the kernel’s process table
- Most common unit of execution
- Execution state
- Machine instructions, data and environment
Properties of a process
- Process ID
- Parent Process ID
- Process group ID
- Session ID
- User ID of the process
- Group ID of the process
- Effective user ID
- Effective group ID
Properties of a Process - cont
- Controlling terminal
- Current working directory
- Root directory
- Open files descriptors
- File mode creation mask
- Resource limits
- Process times