Computer Science, asked by aishwaryajadhav5569, 1 year ago

Whatis the architecture of unix operating system

Answers

Answered by Anonymous
3

HomeUNIX TUTORIALARCHITECTURE OF UNIX OPERATING SYSTEM WITH AN APPROPRIATE DIAGRAM

ARCHITECTURE OF UNIX OPERATING SYSTEM WITH AN APPROPRIATE DIAGRAM Admin  February 13, 2016  UNIX TUTORIAL

 

Architecture-of-UNIX-operating-system-with-an-appropriate-diagram

There are two important divisions in UNIX operating system architecture.

Kernel

Shell

In simple words you can say –

Kernal – interacts with the machine’s hardware

Shell – interacts with the user

THE KERNEL:

The kernel of UNIX is the hub (or core) of the UNIX operating system. Kernel is a set of routines mostly written in C language.

User programs that need to access the hardware (like hard disk or terminal) use the services of the Kernel, which performs the job on the user’s behalf.

User interacts with the Kernal by using System calls. Kernel allocates memory and time to programs and handles the file store and communications in response to system calls.

As an illustration of the way that the unix shell and the kernel work together, suppose a user types mv myfile myfile1 (which has the effect of renaming the file myfile). The unix shell searches the file store for the file containing the program mv, and then requests the kernel, through system calls, to execute the program mv on myfile. When the process mv myfile has finished running, the unix shell then returns the UNIX prompt to the user, indicating that it is waiting for further commands.

architecture-of-unix-os

SOME OTHER FUNCTIONS PERFORMED BY THE KERNEL IN UNIX SYSTEM ARE:

Managing the machine’s memory and allocating it to each process and decides their priorities.

Scheduling the work done by the CPU so that the work of each user is carried out as efficiently as is possible.

Organizing the transfer of data from one part of the machine to another.

Accepting instructions from the unix shell and carrying them out.

Enforcing the access permissions that are in force on the file system

Similar questions