Chapter 3
Chapter 3
2m
Define process
Define PCB
Draw process state diagram
What is the use of ps command? Write long form of UID and PID
Syntax of commands – sleep, kill, wait, exit, ps
Give commands
1. To add delay in script
2. To terminate a process
Define deadlock
Define IPC or inter process communication
4m
What is IPC? Explain shared memory and Memory passing.
Explain shared memory of IPC with diagram.
Explain Memory passing of IPC with diagram.
Draw and explain process state diagram
Explain PCB with diagram
Explain or Describe use of commands with syntax and example
- ps
- sleep
- kill
- wait
- exit
Explain ps command with four functions
- -f, -u, -a, -e
6m
Describe many-to-one model of multithreading with diagram.
Describe one-to-one model of multithreading with diagram. Also write the advantages of one-
to-one model over many-to-one model.
Describe many-to-many model of multithreading with diagram.
Explain multithreaded model in detail.
Write output of the following
- sleep 09
- wait 2385018
- ps -u Asha