I do not understand the difference between operating system and kernel. Can someone please explain it?
-
4Why isn't Windows 7 called a kernel?– mikuCommented Jul 23, 2010 at 6:20
-
33think car/engine– AnycornCommented Jul 23, 2010 at 6:32
-
6@Roque Santa Cruz: for the same reason computers are not called screens.– Álvaro GonzálezCommented Jul 23, 2010 at 6:33
-
Because it's an operating system. :) But seriously, a kernel is just a core process that owns everything handles the fundamentals. The win7 kernel is the thing that splits the processor time between all of your applications, manages the CPU and the memory, etc.– leogerCommented Jul 23, 2010 at 6:34
-
This is definitely an off-topic question. Not directly related to StackExchange. Incase you're still looking for the answer, see this thread (duplicate) here…. it has every possible answer stackoverflow.com/questions/2013937/… @Moderators : Please close this !!– SashaZdCommented Apr 29, 2013 at 13:53
3 Answers
The kernel is part of the operating system and closer to the hardware it provides low level services like:
- device driver
- process management
- memory management
- system calls
An operating system also includes applications like the user interface (shell, gui, tools, and services).
-
2Exactly. This is why calling Linux an Operating System is a misnomer :) Commented Dec 2, 2023 at 2:21
The difference between an operating system and a kernel:
The kernel is a part of an operating system. The operating system is the software package that communicates directly to the hardware and our application. The kernel is the lowest level of the operating system. The kernel is the main part of the operating system and is responsible for translating the command into something that can be understood by the computer. The main functions of the kernel are:
- memory management
- network management
- device driver
- file management
- process management
Basically the Kernel is the interface between hardware (devices which are available in Computer) and Application software is like MS Office, Visual Studio, etc.
If I answer "what is an OS?" then the answer could be the same. Hence the kernel is the part & core of the OS.
The very sensitive tasks of an OS like memory management, I/O management, process management are taken care of by the kernel only.
So the ultimate difference is:
- Kernel is responsible for Hardware level interactions at some specific range. But the OS is like hardware level interaction with full scope of computer.
- Kernel triggers SystemCalls to tell the OS that this resource is available at this point of time. The OS is responsible to handle those system calls in order to utilize the resource.