Operating System
Operating System
Operating System
OPERATING SYSTEM
What are operating systems?
An operating system is software that enables applications to interact with computer hardware. The software that
contains the core components of the operating system is called the kernel. Operating systems can be found in
devices ranging from cell phones and automobiles to personal and main frame computers. In most computer
systems, a user requires that the computer perform action (e.g. execute an application or print a document) and
the operating system manages the software and hardware to produce the desired result.
To most users the operating system is a “black box” between the application and the hardware they run on, that
ensures proper result. Given appropriate inputs, operating systems are primarily resource managers. They manage
hardware, including processors, memory, input/ output devices and communication devices. They must also
manage applications and other software abstractions that unlike hardware are not physical objects.
General Motors Research Laboratories implemented the first operating systems in the early 1950 for its IBM 701
computer. It executed only one job at a time.
A user interacts with the operating system via one or more user applications and often through a special application called
a shell, or command interpreter. Most of today’s shells are implemented as text-based interfaces that enable the user to issue
commands from a keyboard or as GUI (Graphical User Interface) that allows the user to point and click and drag and drop
icons to request services from the operating system (e.g. to open an application). Microsoft Windows XP provides a GUI
through which users can issue the commands. Alternatively, the user can open a command prompt window that accepts
typed commands.
The software that contains the core component of the operating system is referred to as the kernel. Typical
operating system core components include.
-The process scheduler, that determines when and for how long a process executes on a processor.
-The memory manager, which determines when and how memory is allocated to process and what to do
when main memory becomes full.
-The I/O manager which services input and output request form and to hardware devices respectively.
-The Inter Process Communication (IPC) manager which allows processes to communicate with one
another.
-The file system manager which organizes named collections of data on storage devices and provides an
interface for accessing data on those devices.
All modern operating systems support a multi-programmed environment in which multiple applications
can execute concurrently. One of the most fundamental responsibilities of an operating system is to determine
which processor executes a process and for how long that process executes.
Operating system
An operating system is a collection of programs that controls the overall operation of a computer. It allows users to format
disks, create, print, copy, delete and display files, read data from files, write data to files, control most input/output operation,
execute programs, allocate memory locations, process interrupts, etc. It provides users an interface to computing resources.
It processes user’s commands. In a multiuser system it allows several users to share CPU on the time-share basis. In short
an operating system monitors the execution of user programs and the use of resources.
Operating systems are large. Most of them are too large to be stored in the memory at a time. Therefore, they can be divided
into a number of parts. Some portions of the operating system must always be present in the memory. These sections perform
the basic operations such as starting and terminating user programs, allocation of memory and files, and basic input/output
operations. Interrupts are also handled by these resident portions of the operating system. The portion of the operating
system which is always present in the memory is called nucleus or kernel. The kernel is a master program of operating
system. It coordinates all other parts of the operating system. It is also called supervisor. Other portions of the operating
system which are brought into the memory when needed and removed when not needed are called transient programs.
The process of loading the operating system into memory is known as booting. When a computer is turned on
the operating system must be brought into the computer’s memory from the hard disk memory. The process is
normally started by a small program called bootstrap loader. This program resides in a ROM as firmware. A
computer is designed to fetch its very first instruction from the ROM when power is turned on. The first instruction
is bootstrap loader. It is very simple program sufficient only to direct the CPU to look for a specific file (i.e.
operating system file) on the disk memory and execute the instructions stored in the file. The file contains machine
codes of the operating system. The first part of instructions in the file contains codes to direct the CPU to continue
loading the rest of the operating system into the memory. When the operating system is fully loaded into the
memory, the computer is ready to accept user’s commands.
UNIX is a multiuser operating system. It permits many users to share a CPU on a time-slice basis. Each users
program is known as a process. If multiple programs or tasks are to be processed by a CPU, a schedule must be
prepared so that they can be processed properly. The part of the operating system, which performs the task of the
scheduling, is called scheduler, dispatcher or supervisor.
Several versions of UNIX are available. These are XENIX, VENIX, MICRONIX, LINUX, UNIXWARE – 7 etc.
LINUX
It is a multitasking, multiuser operating system. It is a version of UNIX. It has been developed by hundreds of
programmers scattered around the world. The aim was to develop UNIX clone free of any commercially copy
righted software that the entire world can use. It was started by a computer science student, Linus Torvalds. It
includes most of the commands of UNIX.