
- Operating System Tutorial
- OS - Home
- OS - Overview
- OS - Components
- OS - Types
- OS - Services
- OS - Properties
- OS - Processes
- OS - Process Scheduling
- OS - Scheduling algorithms
- OS - Multi-threading
- OS - Memory Management
- OS - Virtual Memory
- OS - I/O Hardware
- OS - I/O Software
- OS - File System
- OS - Security
- OS - Linux
- OS - Exams Questions with Answers
- OS - Exams Questions with Answers
- Operating System Useful Resources
- OS - Quick Guide
- OS - Useful Resources
- OS - Discussion
What are the components and functions of the UNIX OS?
UNIX is one of the most popular operating systems on multi-user systems. Actually, it originated as a single-user system. It has limited structuring.
UNIX OS consists of two separable parts which are as follows −
System programs.
Kernel.
Now, let us see the architecture of UNIX.
Unix Architecture
Unix operating system architecture is divided into four layers as given below −
Hardware
Kernel
System call or shell
Application programs
Given below is the diagram of UNIX architecture showing all the layers −
Kernel
It is a part of the operating system. It interacts directly with the hardware of the computer with the help of a device that is built into the kernel.
Functions of Kernel
The functions of the kernel are as follows −
Memory management
Controlling access to the computer.
Maintaining the file system.
Handling interrupts.
Handling errors.
Performing input and output services.
Kernel allocates the resources of the computer to the users.
The kernel is the most important part of the Architecture of UNIX OS.
Shell
It is a software program that acts as a mediator between the kernel and the user. It reads the commands and interrupts by sending requests to execute a program. So, the shell is known as a command interpreter.
It contains almost 100 system calls and tells the kernel to carry out various tasks for the program. These tasks are as follows −
Opening a file.
Writing a file.
Obtaining information about a file.
Executing programs.
Terminating a process.
Changing the priority of processes.
Getting the time and date.
Hardware
The hardware is nothing but the parts of a computer that includes clocks, timers, devices, parts etc. in the Unix OS Architecture.
Components of UNIX
The components of UNIX operating system are as follows −
Kernel − It is the main part of the operating system.
Shell − It is a command user interface that is helpful in interpretation. For example- system calls.
User − It refers to a person who is interacting with the Unix Operating system. For example, humans.
System Hardware − It is a peripheral containing input and output devices. For example- Keyboard and monitor.
Functions of UNIX
The functions of UNIX operating system are as follows −
Effective Optimization of resources − It optimizes the task of effective utilization of resources.
Memory Management − This includes swapping of pages in memory.
Process Management − It involves scheduling of processes. For example, the FIFO scheduling algorithm.
Maintaining file system − It maintains files by removing junk files.
Handling interrupt − It handles the signals caused by hardware. For example, if some process demands an input device so it produces an interrupt.
- Related Articles
- What are the four main components and the roles of the UNIX OS?
- What are the components and shells of UNIX?
- What are the components of food nutrition, and their functions?
- What are the various components of blood ? State their functions.
- Explain the Components of Food and their functions?
- What are the differences between Client OS and Server OS?
- What are the advantages and disadvantages of Different OS?
- What are the components of the CPU?
- What are the components of DBMS?
- What are the components of food?
- What are the different components and architectures of firewalls?
- What are the components of food and their function?
- What are the abiotic and biotic components?
- What are the functions of Treasurers and Controllers?
- What are the differences between Unix and Linux Operating System?
