eolas/Operating Systems/Basic Model.md
2022-05-23 18:30:04 +01:00

1.1 KiB

tags
Operating_Systems
Linux

Basic model of a (*nix) operating system

We can abstract the Linux OS into three operational levels or tiers, from the bottom up:

User processes
The running programs that the kernel manages. Also known as the user space. Comprising:
  • Graphical user interface
  • Servers
  • Shell
Kernel
The core of the operating system. Software residing in memory that tells the CPU where to look for its next task. Acts as a mediator and primary interface between the hardware and the user processes. Comprising:
  • System calls
  • Process management
  • Memory management
  • Device drivers
Hardware
The base: one or more CPUs and RAM memory performing computations and writing to memory. Comprising:
  • Processor (CPU)
  • Main memory (RAM)
  • Disks
  • Network ports

!! Add info on kernel mode and user mode https://www.geeksforgeeks.org/user-mode-and-kernel-mode-switching/