CH 6 Operating System Omar
CH 6 Operating System Omar
chapter system
s (os)
ml9
Arso Open Uvers ty
wwwaoLedu.eg
KernalyCommunicaians between
serices Software anoh Heroware.
proganeXe Cution
is af particulareFile systems Commnication
o opetations,
iaterest Yesoce allocation accounting,
eror clete ctionogging-pratetion
and seCurty
’progam executio
The System must he able to Aoa
aa pragam into memory
*Debuging
the sersFacirties Can greatly hance
and programmers abiities
efficiently wse
use the system
’ Resource alocation
when mltiple sers r mutiple jalbs running
ConcuYrentl esowrces must be allo cated to
chthem
Touehscreen
Noice Cemnnanods
System cals
kprogaming interfaee to the senices.
provided the
BY
ypicaly written inahighdevelJanguge
r ct)
K accessed p by r
pragrams
os via a highdae
sia highAevel
Application progoAing imterFace APL
rather thairect system colu
Cal e
X File management
create Jelete ile
openclose
read write epostion
getset File attributes
* Device mana 9 ement
-zquest, release
-readwri te, epo deice
Öngiópll ôuoll àoolall
Arab Open University
www.aou.edu.eg sitio
-get. Set device attributes
Aogi Cally attach ar detac
device
lnRormation maintenance
get-set Time r lata
systemlata
get Set precessFile ok leice
atiributes
eXs. indowS
indows and uni system ols.
OPro Cess Wind wni
Conttol creatpYocess Fork
ExitpYo cess() exit
WaitFosingle oje ct Wait
àngiogll ôujoll àoolall
Arab Open University
www.aou.edu.eg
wiaows
OFile creat Fle ) open ()
Management ReadFile l) read)
writeFie () write L
closeHandle ) close )
Oeice wiadows.
mangement setConSole mode () ioct1
Readconsale) read cy
write consale ( write )
Olnfamctian
maintenance
windos.
GetCuuntetProcess ID) getpid c
Set mer ( alarm )
Capital small Seep ()
6Commnications
wiadows unix
CreatePipe ) pipe ()
Create File Mappinaq ) shmopen (J
Mapvieuof File
Qpratection indas uni
setEileSecunty () chmocl)
Initlialize Securit Oesériptor () wmasIk)
Set Securiy Descriptor Graup (y Chown)
System Services.
DFile Managenent
create deleteCopy, Yenamme, print
umeist andgenerallymanipulate
Files and dive ctors
Qstats inbrnatibn.
Some systens imm plementa reqisth-used to
storeand retrieve ConfiguWotiom innformatian.
EI Sherouk City PO.Box 51 -Cairo www.aou.edu.eg Hotline: 19268
3. File modification
Text editors to create and
Ôogiooll áujoll óoolall
Arab Open University modify eiles.
www.aou.edu.eg
eXecutio
5. proglam Joaciag andproicle
& Communications i the mechanism
For creating NirtuaConnections among
processes,wsers, Cnd Camputer SystemS.
4Backramad services startupshatdan
Jaunch at bost time
prouide Facinities ike disk checking
prace ss sheding errYY or dogging príating Context
Run ia wser Coatext aot Kenad
Knows as Services, sub system5 dameons.
8 Application pagramssystem
Oont pertain to
Anby users
Not typically Censiderel partof os
dannched bybycsmman ine mouse click,
Finger pake
Dinkers andoaders.
iner Combines these into single binay
eXecutablefile
-’ progam resides seConlay starage
as bingay executable addresses
K Relo Cationassi_nsCodefinal
and data
program parts
fo progonn adiusts
and addre sses.
in to matchthose
WWW. u.edu.eg Hotline: 19268
-Rather, clnamicaily nked
lbraries in winc ows, DLLs)
are doaded as needed, shawed
wwWAtueg
of lby
thatse
all
Same
that se the
Abakyloadedonce)
Same version
faop. s stactwre
Geal pupo Seos Nery daYge progron
Narions sinaple sthctareMs-Dos
MoYe cenapleX
*Jayered an abstroction
mico KeXnadach.