|
Explain process control subsystem.
Process subsystem describes the structure of a process and some process data structures used for memory management. A process is the execution of a program and consists of a pattern of bytes that the CPU interprets as machine instructions (called "text"), data, and stack. Many processes appear to execute simultaneously as the kernel schedules them for execution, and several processes may be instances of one program. a process on a UNIX system is the entity that is created by the fork system call. Every process except process 0 is created when another process executes the fork system call. The process that invoked the fork system call is the parent process, and the newly created process is the child process. Every process has one parent process, but a process can have many child processes. The kernel identifies each process by its process number, called the process ID (PID). Process 0 is a special process that is created "by hand" when the system boots; after /orbing a child process (process 1), process 0 becomes the swapper process. Process 1, known as init, is the ancestor of every other process in the system. A user compiles the source code of a program to create an executable file, which consists of several parts:
The process table entry and the u area contain control and status information about the process. The u area is an extension of the process table entry. |
Read Also
Have a Unix Problem
Unix Books :-
Return to : - Unix System Administration Hints and Tips (c) www.gotothings.com All material on this site is Copyright.
|