Monday, October 21, 2019
UNIX Kernel--Process Management essays
UNIX KernelProcess Management essays The UNIX system kernel is the master organizer of UNIX. The kernel schedules processes, allocates memory and disk storage, supervises the transmissions of data between the main storage and the peripheral devices, and honors the processes' requests for service. The traditional UNIX system kernel addresses three major tasks: process management; device management; and file management. These three areas remain central, but dramatic advances in hardware and software have expanded the role of the kernel. Today's kernels usually provide these additional services: virtual memory, networking, and network file systems. Additional kernel features that exist in some versions of UNIX, but that are not universally available include multiprocessor support and lightweight process support. This paper will focus on process management. This includes starting processes, scheduling processes, swapping processes to disk, allocating resources such as memory and honoring processes' requests for service. A process is a program that is being executed. For a given program, there may be any number of processes running at a particular time. When we speak of a process, we are talking about something that is active, something that is executing. The term process generally refers to activities that are cataloged in the UNIX system kernel's process table. The process is the fundamental unit of organization in the UNIX system. The kernel stores vital information for processes in two places: the process table and the user table. There is a single process table for the entire system. It contains one entry for each process. If you try to start a process when the table is full, the kernel refuses. The process table is referenced during all of the life stages of processes. Creating a process involves initializing an entry in the process table, initializing a user table and loading the actual text and data for the process. When a process changes its state or receive...
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment
Note: Only a member of this blog may post a comment.