introduction to operating system
introduction to operating system
operating system
Expected objectives
application software;
software
System software.
Utilities
They help to develop applications, they are compilers, assemblers, text
editors, loaders, debuggers.
Mac OS.
II
II--Layered structuring of a computer
system
1-Abstraction layer
We describe computer systems like a stack of layers which are
superimposed, bringing to each additional level new functions that are
increasingly elaborate and based on the more elementary functions
provided by the underlying layers.
II
II--Layered structuring of a computer
system
1-Abstraction layer
1-Process management
The interpreter runs first when a user logs in, it is the one that
displays the system command prompt, its purpose is to get the next
command and create the associated process.
IV--Classification of operating systems
IV
1-Mono-task system
It only manages one task at a time (one program). When the program
is launched, it uses the machine's resources alone and only returns
control to the operating system at the end of execution, or in the
event of an error. Example: the MS-DOS system.
Exemple : le système MS-DOS.
2-system multitasking
It simultaneously manages several programs on the same machine.
It allows CPU time to be shared for multiple programs, so these will
appear to be running simultaneously.
The principle is to allocate time to different programs (tasks or
processes) running simultaneously.
These tasks will be in turn active, on hold, suspended or destroyed,
depending on the priority associated with them. The allocated time
can be fixed or variable depending on the type of sharing managed by
the OS.
Example : OS2 d'IBM, Windows 95, 98, xp, vista, 7.
IV--Classification of operating systems
IV
3-Multi-user system
Example: Windows 2000, 2003, XP, Unix (HP-UX, Solaris, AIX, Linux,
FreeBSD...)
IV--Classification of operating systems
IV
simplified management.
Example : MS DOS
IV--Classification of operating systems
IV
5-Distributed system
1-Definition
DOS (Disk Operation System)
DOS is software which was written to control hardware;
The command prompt is where DOS commands are run.
VI--DOS Commands
VI
2- Why use the command prompt ?
Echo
Displaying text on the screen can be useful, in some cases, to display
text on the screen, for example to inform the user of what the Batch
"does".
Example: Echo Hello
@ECHO OFF