@itworld4u Basic Information of the Kernel

in #kernel7 years ago

space-19070_1280.jpg

Thank You for landing on this page, if you are looking for basic information of the kernel than you are in right place. This is my second steemit post, in this post I briefly describe the basic details of the kernel.

Basic details o the kernel.

What is kernel?

kernel means communication between hardware and application.
The kernel is a heart of the operating system. The kernel provides and manages
computer resources, allowing other programs to run and use these resources.
the kernel sets up memory address space for applications and loads files
with application code into memory.

A kernel is responsible for:

process management for application execution.
memory management, allocation, and input, output.
device management through the use of device drivers
system call control, which is essential for the execution of kernel services

There are three types of kernel.

monolithic kernel
microkernel and
hybrid kernel

Linux system uses a monolithic kernel. it can execute all the operating
system code in the same address space to increase the performance of the
system,

a microkernel runs most of the operating system services in userspace,
i.e as servers, aiming to improve maintainability and modularity of the operating system.

hybrid kernel run a few services in the kernel space and reduce the
performance.

basically, standard location of kernel is /boot for desktop and server distribution.
to find the kernel location. see the grub.cfg and grub.conf file in Linux.

to find out the kernel modules and its derivers use the below commands

echo "Modules dir: /lib/modules/$(uname -r) for kernel version $ (uname -r)"

ls -l /lib/modules/$(uname -r) to check the contains of the directory,

cd /kernel/drivers/ To check the Drivers

ls

Sort:  

awesome post. really useful information about the kernel. @technicalgaja