Ams Operating System
Ams Operating System
AMS 103
ADEGBENJO ADERONKE
What is an Operating System?
• Payroll system :Batch systems are ideal for making payrolls. The
salaries of employees can be printed at the end of month by the
batch systems. So the statements can be made easy by using batch
systems.
• Bank statements: At the end of month the bank makes statements for
each account holder. So these bank statements can be made easily by
batch systems at the end of month.
TIME SHARING OPERATING SYSTEM
• A time sharing operating system (OS) is a kind of computer operating
system that permits multiple users to use a single computer at the
same time by distributing the computer's resources (such as the CPU,
memory, and input/output devices) among various users or
applications
• The Time-Sharing OS provides computer resources to numerous
programs simultaneously in a time-dependent manner. As a result, it
aids in providing direct access to the main computer to a large
number of users. It's a natural progression from multiprogramming.
• A time sharing operating system allows the user to perform more than
one task at a time.
• Time sharing OS allows the user to perform more than one task at a
time, each task getting the same amount of time to execute. Hence, the
name time sharing OS. Multiple jobs are running at the CPU time and
also, they use the CPU simultaneously.
• Time is allocated for all operations for each user. Multiple online users
can use the same computer at the same time. End users have the
impression of having full control over the computer system.
• Linus is an open-source time-sharing operating system. Open source
software is code that is designed to be publicly accessible. Time-sharing
enables many people, located at various terminals, to use a particular
computer system at the same time.
• Linus is an open-source time-sharing operating system. Open source
software is code that is designed to be publicly accessible. Time-
sharing enables many people, located at various terminals, to use a
particular computer system at the same time. It is an example of
Linux
• This type of OS provides on-line communication between the user
and the system, the user gives his instructions directly and receives
intermediate response, and therefore it called Interactive System.
• The time sharing system allows many user simultaneously share the
computer system. The CPU is multiplexed rapidly among several
programs, which are kept in memory and on disk. A program swapped
in and out of memory to the disk. Time sharing system reduces the
CPU ideal time.
• Users can benefit from the following advantages provided by the
time-sharing OS:
• For all operations, each user sets aside time.
• At the same time, multiple online users can utilise the same
computer.
• End users believe they have complete control over the computer
system.
• Interaction among users and computers is improved.
Advantages of Time Sharing
• Response time of CPU reduces.
• Idle time of CPU reduces.
• Each task/process gets an equal time slot to execute.
• Provides the advantage of quick response.
• Avoids duplication of software.
• Reduces CPU idle time.
• Each task gets an equal opportunity.
Disadvantages of Time Sharing
Operating System
• Problem of reliability.
• Question of security and integrity of user programs and data. One
must have to take care of the security and integrity of user programs
and data.
• Problem of data communication.
Questions
• What is the primary disadvantage of batch processing compared to
interactive processing?
• State two advantages and disadvantages of each:
- Batch Processing Operating System
- Time Sharing Operating System
REAL TIME OPERATING SYSTEM
(RTOS)
• Real Time Operating System: It has a data processing system. In this
environment, larger number of events mostly external to the
computer system must be accepted and processed in a short while or
within a certain deadline.
• The key objective is to provide quick response time and thus meet
their scheduling deadlines. If it delivers the correct result after
deadlines the system is regarded as having failed. It performs few
tasks, thus ensuring that the tasks will always be executed before the
deadline.
• It reduces certain functions when they cannot be executed within the
time constraints. It monitors input consistently and in a timely
manner. It keeps track of how much of each resources might possibly
be used by the currently running tasks.
• They are in time critical environments where reliability is key and data
must be processed within a strict time limit.
Real Time System is characterized by supplying immediate response.
It guarantees that critical tasks complete on time.
• This type must have a preknown maximum time limit for each of the
functions to be performed on the computer.
• Real-time systems are used when there are rigid time requirements
on the operation of a processor or the flow of data.
• Real-time systems can be used as a control device in a dedicated
application.
• The time interval required to process and respond to inputs is very
small. This time interval is called Response Time.
• The time taken by the system to respond to an input and display of
required updated information is termed as the Response Time.
• Real-Time systems are used when there are time requirements that
are very strict like A real-time system is defined as a data processing
system in which the time interval required to process and respond to
inputs is so small that it controls the environment. So in this method,
the response time is very less as compared to online processing.
Types of REAL TIME OPERATING
SYSTEM
• Hard Real-Time Systems. In this, the time constraint is very short and
strict.
• Firm Real-Time Systems. In these systems, although the deadline is
given but, missing them does not result in great loss.
• Soft Real-Time Systems. As the name suggests, the system handles
the deadlines softly.
• A real-time system is a software system where the correct
functioning of the system depends on the results produced by the
system and the time at which these results are produced. A soft real-
time system is a system whose operation is degraded if results are not
produced according to the specified timing requirements.
Advantages of Real Time Operating
System
• Maximum Consumption: Maximum utilization of devices and system, thus more
output from all the resources
• Task Shifting: The time assigned for shifting tasks in these systems are very less. For
example, in older systems, it takes about 10 microseconds in shifting one task to
another, and in the latest systems, it takes 3 microseconds.
• Focus on Application: Focus on running applications and less importance to
applications which are in the queue.
• Real-time operating system in the embedded system: Since the size of programs
are small, RTOS can also be used in embedded systems like in transport and others.
• Error Free: These types of systems are error-free.
• Memory Allocation: Memory allocation is best managed in these types of systems.
Disadvantages of Real Time
Operating System
• Limited Tasks: Very few tasks run at the same time and their
concentration is very less on few applications to avoid errors.
• Use heavy system resources: Sometimes the system resources are
not so good and they are expensive as well.
• Complex Algorithms: The algorithms are very complex and difficult
for the designer to write on.
• Device driver and interrupt signals: It needs specific device drivers
and interrupts signals to respond earliest to interrupts.
• Thread Priority: It is not good to set thread priority as these systems
are very less prone to switching tasks.
Examples of Real Time Operating System
• Microsoft Windows
• Mac Os
• Microsoft Windows NT
• Unix
• Linux
• Ubuntu
• Android
Component of the Operating System
• PROCESS MANAGEMENT
• Process management refers to the activities involved in managing the
execution of multiple processes in an operating system. It includes
creating, scheduling, and terminating processes, as well as allocating
system resources such as CPU time, memory, and I/O devices
Components of Operating System
• Kernel
• Shell
What is a Kernel?
• Kernel is the core of the operating system and shell is ready to provide
user interface to access operating system services. These command
line interfaces and these graphic interfaces are all shell.
• However, for most developers shell means only command line
interfaces. Shell is more frequently used in Unix and Linux world.
Developers use command line shell programs a lot to manipulate
those operating system.
Functions handled by the kernel
• eFileCabinet.
• Microsoft OneDrive.
• Dropbox.
• Apple iCloud.
• Google Drive.
Major file management functions that an operating system
controls.
• When harddisk is failing that is not reading and writing data correctly.
In some computers, there is only one thing or many things causing
problem. It is a matter of treating the logical problem to find out what
is it. Find the cause, fix it or replace it.
BASIC TROUBLESHOOTING TECHNIQUES IN
OPERATING SYSTEM
• When a computer shows blue screen. The blue screen will give an indication of
how the crash occurred but this may not always be true.
• It may be caused by:
• failing harddisk,
• failing memory,
• bad application,
• poorly written drivers or even a problem with the CPU.
• The solution is to always save your data on the network.
• It could be hardware problem.
• Try to trouble shoot and fix. Install a recent hardware.
• Also, Start with Hardware diagnostics provided by the manufacturer or BIOS that
has hardware diagnostics kits
• if the problem is software, use a system restore to roll back to a
previous configuration or installed a driver
• if it occurs during the startup process, try starting in Safe Mode that
could possibly get to a Windows desktop.
• if the system run slowly, use task Manager. It will provide information
about CPU usage, memory used.
• if any resources are limited on the system, try using the performance
tab to see if there is any trends with CPU, Memory, disk Usage or
Network Usage on the system.
• to check if operating system is up to date, check windows update, check
disk space to be sure there is enough room available for you operating
system to be able to work.
• if there is software running on the system that might be causing
performance problem, run antivirus scan or antimalmare.
• if operating system is missing and there is multiple partition on a storage
drive, configure one partition for one operating system and another
partition for another
• if the bootloader is improperly configured, before making any changes,
confirm that all boot drives are properly connected and if there is any
USB drives, remove and try rebooting the system.