Operating {
ase objectives
~ ve rowwledge OY mmerneny ona Srle rane
+t
fect
qT fomtliantse
. USM deadlock handling techstques
Sourse Outcomes nee,
: Cempletfon of the counse, the Hucents
Suceenfal
Re ble 440 clo the ‘folte
Peseribe the voles functfons O° ‘
Structure of Oferatf
perackfng
(
systems
R Demonstrate ‘the Concept of proce Ae OR
formance OF CPO Schedalt a
re 4
—E memory mara:
gern then
3- Compose diffe menk
Apply prop replacement algonithens T9
4. apply deadlock iy Sting technique te
deadlecks ard os oe performance
iste Scheduling algorttns!
& Develop Software hardusase ~ basec
Saion problems and outt
Kruckuresos: Shuckure, Syste cals
ae
Mig System Savices,
“type oF Sen colts
rgce Naragerant
os ee rrran Contrl block (eB), Prose
ee Qkecduling
catterta, Scheduling abet ee ae yceeanernalicn |
matir-tread poet | malt thread models,
unTe-8: Memory, Maragpraenl= Shratergies
Seenpping, Contagucnsrrernong, allocation, paging, Sy
iain het Beard patog,
igen Te hg ee
unit w Deadleces
esfeation, Metheds tor handling, clea
Dead Leck chatas
deaatect- preven, Fivordance, Detection, recovery.
J
asp storage sruckine: Ms nekte disk, Hoagnelie kapos
Disk Scheduling, a
quotes: Syrehwontsation-
The Gxftical Section problen, pelersor's solution,
Synenertua ion Freudunre, Semaphore, Clanic poe sof
on, Wrenttors: Ale. Systernfintertace: Pre cethribute
Hie Opemtions; Nezonenethods,” Diveckury, shruchvres
Terk books
i fierahom SiWberschat2, Peter. @, q (wh
HNg Syster princip|ey! eo"
ee Preps, obo satley Phe onUnt
allows the Kerna)} to provtde Core Sy
SM alro allows certafry Features to be Fwplem |
os
DY The overall Cale Teymbiey o.layered,Sustery bul
FETS more Heutble because ang medvte Can ca)! ony
they module:
)Tois appreach Fe alto Wee enicro Kertel Oppreach rr
ae PTRRE Mo kay ny ccorefancttons and
0 eae peels of hsto to load and
Soman tlth Other Modules. But TE Ts crore
oe becawe ax fh mito kernal OPproach re dceist
he Metiagpa Tn Sider bo Communicate,
grat ©Perating Systems Combrne dttfevent Shuctuy
a ag? T0) hybtel Systems that- addres, Performa e
rae ord Wrability sues
43 Susie Ce
Syste cats Provide an thier
Lexy
Made available by os: face the Service that a
Thete cals ave
ererall
to Cond cyy gereral ¢ Watlable og Fee tre
Somelt tre, by eite
large,A Sample propa to "resi sdedn shore
them to another files a
tthe pr
can be
he Names.of 2 ~ffles b
on the. scree & then
Keyboard C 8ysfem calls)
The program must open the d/p fl
olp aile (system calls) - there ave
@ pam tres tp open an. Tp fle. The -frle may not
exsist or te fs proticcted a. anrsk accened “gn thrs
case the pgm Should. prompt a ae Seven and
teminale abnewnalig C sysem calls)
3 ZF Alp frle exsisis we must create a neo ofp -Frle
“here ‘may be another ile with Same Name this may
to abort (eystem calls) ov replace
or Create New one
ebatting @ prem
mg thd chavackers from
le and eveat the
ossible errors wher
Cause
exstsinrig fle Ceystentcall
ee 4
. The both -frles ave getup we enter & (oop that veads
-from Ip ‘tile Caystern cell) a writs to ofp fle
C-system call) sts May also cause errr
rnally alter the entive fyle 1 Copted, the Py”
mew, close both Arles (syste call), wrfle a.mse
on’ Screen Csystem call) & Frably fermmate
movmallyp Csystem exalt)
&le
corte prompt +
oe ate
apt ontpet erne
corte. prompt #0 Sere?
Accept. Fopate
n topuk ttle
Th file doar exsist Arore
Greate output #1e
TF file alvealy exststy Abort
Loof
head tom Toput “le
torte to output fre
until vead fail
Erle
Clove frput Ale
tortie complation tesiagé to, Scien
‘Tewminate ceased?
Syueon caltieterace,
| Most %e
aie i Languages provide he Syster cal
yn ie Sesves os link fo Systm Calls mMacle os
et operating System:
i pete es ‘Totercepts Function calls f i
revs payers he necetany yom lai
sslem, and ‘then pak
} Pee scxn eae hates of the
Wappen)
stem Call Therface |
Uwermade
Ketrelnods“The ae to.
Tonplemented OF hat mh
en res a
eaeutlen of A Suetemedt
ei
Yo “the pastfcutar Operatieg
system Ord AQ System Catt, meee ve ‘The Sway
Fo whch toe : tid is od
gee COD FEM Posametas to Me operating,
b Regtstes:- hae Bray Be Ronettes Mee
: eats: Sh se Uae Block on stack:
SACKS The barometers are Stored fp
| Oa the address of the blo
| Tn 2 regtster,
| 3 Stack;
ouameders
a block Th mempr
ck FE patted! As parameter
The paramekos Can be pushed énto the Sta:
Prem ond pop by the operating System
INeie= Block ard Stack methocls cenot ttmit tne numbe oF The
length oF pasamelers being passed
es OF Sy Stem cats)- :
fem Calls Can be Quouped soughly Foto 6 mo:
Grouped oughiy
py the
po catego
process conto!\\
2 file manipulati
2 Device manipulation
4 nformatton
~ & Communteaty
6+ pro tection
J. Process Contsol-
# end, abort — Yunrinc Program must be able to haut the
enecution efther nov fy (end) © abnermaliy abort)
aintenance
# (ead exeute)- Thd proces need tobe loaded ft» memory
and then vofil be ferecuted,
K Creale proce tefminale process ~ dh a. malt programming
SIREN Prog rams un cmewrently. .& w,
% tate have +he
erminaked Hil they. cre "ig
Create procenovs and they ove
Teo
Giek proce athibutes, Ser pprocen auinibudes: To Conbso! the
“oe ieee east omoe mt whe
ity, eeuton He eke
allibuta oF prece® Such as prio
pena are Credled talenecd to tar 4.
a Certain amount OF time.
(Walt for time When
eae thers exeuttion tor
When a. proces fox a Specrtic event
nt. hen that event occurs the
twat events ‘Sgeal event
to occur ine Use Watt eve
precenes need 40 Signal event
|
Allocate and free memory. When @ proces fs Created the mens,
fs allocaked and when the process fs 4erminated’ the memory
| ts tree: qd
2 ‘le montpulation
4 Creale fle, clelete file ~ We mut be able to creak and clelete
Files. thes system call requives the name of the ffle ancl th
ile athtbules.
| open, close- once the ffle Ts created, We need to open tt to
| Use the File: When ft fr ( be A fli
e the le no longes used te nec to
| close the -frle. ae a ee
| ati, “read, write, vepositiony nce the fle ts opened. , we muit
| a be able to vead the ffle, wrfle tothe -#rle ancl reposition tt
| get file: atributes, Set fle atts bute We mutt be able to
| Eee he values of Varbus athibuies of ffles and veret then
ee le OMVibaks Frclude filename, Sie, protection
les, accounting Fofownation and ‘file type ete
3B Device manipulation:
b Request’ clevice, Yeleote clevice,. tp Whe
OF he Syskm, the Swe wequtes to fet we
emer dunner.) ltt
Per we ore fished ih ae
the device and sevelease jbda) 8 ny ot 2. a
Eas printer may have pate size, orventation ee-=
= allached ey leached dlevRe thts means fastalter
Boa clint devtce cbatvers. i
information maintenan ey
gee Hme/ sate Get time| date ; We Can Set the Hme and
2 ona fyctem anid. can alo get ‘the Hate and
Bet Syoten dala, St System data denmalon about the
fich'as the Moro current ters, “the Version IMC epee
of tee Memény or dite
gpace ard
rating System the amount
Ty get proce File, device attabutes ra
Bek proces, Ae, device afirbuler
2S: Communications:
Sb Create, lelete_communfeation connections: Before Communication
“can fake place the Connection must be opened So that +>
4 Can cammuntcale: ance the Comm unfcati
thercthe conection May, be deleted
“ah Send, vecelve mesoger one the conection Ts established the
praesors Gan Send. and wecerve Meniages-
2h Transfer Status foformationy Te Stabs Information foclucle
‘channel busy, norof msg6 Yrantered ete
“The devices may be attached ox
jon is Lene
G proketton-
J) Sek~ permfssion(), geE~ permiaionc))-- We Com manipulate the
:. Permission settings of rewaxes Such os Files and disks
q, wer, deny-Uuteri~ Speci
ae ae Peter ariel
Can Or cannot be allowed to accen certain YeIources: