Operairg tystem
Hsstynment
2301231SSO0S
A
a) keyoide a bref
explaration
funons and choQ ter an OS.
"eagement- Maroge ushedug PDres (reator
and tenin aton.
emoy Mnagement- Alloate kdeallocate menoy or eey
[Link] ent - oganñe, stea k retoiue Yoda le.
Y Deve mahogemert- onto hobguare deuîres via
5.
Seure t Arcs Contool- Ensure ue autheytiatn did
doto poteti.
[Link] deleton Ghondtg- Jdentfs and hadls syster
(b 0S
Au The 0chiteture
o Conmon Öa oyeh
tayered aghitetute ñe oSArochiteture.
layes eah sesUe 8pefddey funOr. to hrexorhio
I."HarduaYe
2. Kernel dayer-layerr Physio Components AU, memor,)
lore fumtbro24 fke
Proeea
memoryY manasenent
3-49sten Callftefac&- Pseuse
4. Appfeoton layer
kesne appicaons ard dhe*
AppcaSoy
fnteat wiA os S8ta
<ysta
Uses Ap poton
System (all rtefoco
OS Keynel
MuitaskfA
-Runs mutiple mufogobmng
cóuiteg [Link] opyods mutipl Pgornîn
Task exete
-
usiug cPU conwrentyt
sheduig Ony one progam exeute
Reaie moe
or aye p0cess memoy Reaure -
-Sx wtnou,, dnu,
processel u t for (Pn Ting
Buteh poLesng dyyterm.
Advantege
Jncreae cpu Aduodgc
watonEeet for Bath ok
Disaduonoge
Mou Qoad to igh oueyhadi iDdack
isaduantral-ime
age frtesat
Au Descbe proceges f. making a system call in os.
n ethe steps înuolved and tAe vole' of he kernel
n havdeig ta ca uoiA example
lye |. Steps
UseY
n reaes
thoksug dystem cale
H prog0n eaweit a Seuice
2. Systern cal Coghteate-
le vead)
Toaps +Re
toarses contol to de 0s. seauests and
3- Kesnel proceg The os cherks preUleges and
exeutes he reaeAS.
4. Ereufon Completfan- fhe os retuns relts
to tte user poo(e.
Open a Ple using oystem Call in c.
+include stdfo-h>
inude<fenti.h
int nnan 0-RDONLY;
int le openl'exunpletxt,
pontp ("ayor Openîng len")
3
Here, openny s/ayien cal.
(2)
Aoivol Gme Butfne
2
Ps
alyse house SRTP schedug algom uold
sehetile 4Rese
Hege procees. Ilstrate tAe cpv allaatn
spng Ghantt cost and caleulate Oug tAt and ug oT.
Pageess AT BT TAT
12.
2 27 2S
1
Ps 13 2
Gantt Chart
13 29 24
Hverae unasound Time: 19+442S+444 =l|.8
Auevage i t g ime |2+0t1tl42 6.4
=
S
Ques Apply gour understandig o prores shed
to expain houo logten, mil-tem, and short
teom ochecdles, muncge proeses at erent
dtages theîr fe yle.
ehedules fn 0S
dong Tem ghedlery
-Noad Dhoresses into memory dor exeut
Ereutfon 4requonly: dow
m-tem sehedlors
-Tempoxorsiy emoues P0teSes from mermoy
- Eratorn freaeny :Medfum
Short -Tesm óeheduless
Cswappigi
-Allocate cpuor exewt on
Exeuton foeuenyHg