You are on page 1of 52
(cs! 471) B.Tech CSE-7th Sem ___ UL cc ED ; UNIT-4 ULP @ TEwheduction fo Procetes > A Precars ib a concept by —etkchin fo Procertes which We Com umdebstendl and Cmbol the ele cuhm 7 mem ann okexating system. A proce is aye Aabined ag a ig eden oh & brqran, Each brew im Linux Byer ABN Aden bled by a Unigpie proters ‘dant Bieten XC abi Cablol or Pid which aa LE ek yaa Keim. A lreocas is he . pe ge by aype QOY pcs (pce iby et, De, . regis ler valut, fc value) 4 pa Sey proces thar unique process LD that dishinpaishes At fm otha Procertel iy the Aysien > Code > Gedo 48 the hope “de trot gy eCrecuhm , Deke Dada ys He cede Ured log Yaa propa. cae dating execs, Dasa may be vatialalis, fils and ro ™m. > Reguter valuios > Rogier values are tna values shared wm CRU eqs terns ushon he Codedsion unsele os porhermed. duving. programa ete caution, pe vi > address of the [roqean, Corey > alae. Paar ushthe Hine escecubins of, tne program Staths or Chios. Maximura value of, Wp thak can be abtripred ab 29764, rect ard chal Pecan > & Pieces ig rerhoniide Gor Serewnting etrer. Procestos.A pocols thet enoredes a met lprocers 48 Roum as Atont Proctor and. ews proces 43 Youn os chill Process. GhedL) Paro (Gael) fated we / \ HL \ Gad) oe a) Children ahs Oildren farowt and child Pracerses ee comet $ whe | mep thay Let Fer exaratle Contider oe Selena Command . $ whe | apeb Jahan xt hon Hus Commanh ig Gren to ADL gun prcemess Rirnademenushy Shel 39 he Fadonk oh beth oh these — ocetea. Ss UNIT-4 ULP GB) Taper of Poceme, —> Q Poe Proceses and @) Non- Twerachve @ Daemons D Trderactve, Prceser > Aerine Procens ushich axe cel cee eee Creche by the Users utth tre Shell act ub +e, ddxeciom of users ond now wally akrachad +o Aesminal ora calles Tale Poctat ese Ss \pocesses are aller called Gy Bre quoumd prcetes. ® No- Drkeradive fro ~~ Certain Pevries Cam be age eo that rum without amy adtechimand Ce on- inderactve procenes os boackarrounl processes, gb -L| qep mamr Daraar.c 244 To ™mske A Commart beom Ww lackgrounely We eed +o stesminale the Crmmard Nive cory $e ambpesdand Ck) Chatacler. ALIA Had Commands ho Whelll TOW & rte TA mos ob Curtedtly Sub Yed acheouns job. “vb VbLYLL KL LYULLLHVYURVUBEHBYBHSEGCHBHOCCCECCECHbHbHESE @ Yaemors > —_ There are Certain processes shied, Reb eaxeoding in tne backspownel ushomover the, sytem is Basted 4, init Ord sioabbos. VRwing Active Procomes > me "ba" commanal. tl JS Used bo dis\lay Aha prcerses treat are “ating ™ Are Dysiem « PS as prcess statuy, + Pe PED TTY T2omeE com>) Tan pvcetses, AVIS a oD ona 3 bash was ae SME Yk oher a bs ik geld + $ pa —¢ Pale Living, of. process VID Prd PPLD C strme TTY TIME cmd weajondar 3183 ANBL 0440 tS cdt00 [bm [ba of raendor 2483 a\gs O \6tod pial eviews ~f ofa obHory,-> Ta Pacotes not Tre fncht ng, Ayplem proceses, UX > Prcstes Consspording to particu uses, 2 > Prcettes eluding aysiem farcemies, —0 > putpuk ak Comma- aebataled ab, ff > LRRD LRRD {> >> fm rm tran UNIT-4 ULP @ Stating, amd Stopbing Process —> Ce A Process Ae just a program theak 13 yanmnivg. | Ead, process Contains Inbirmeatio that are needed by He CRU do mim ne propa, Each \roces msm Akh Carmsipanding address Abact wohich Compe 2H % 03 Ammen’ . & © Tent Seqment > QI This Mend he Coda sank QEeets a Conteun& enecited. Since ey be Wring Hus ante en y @ Dada Seq e xe Hes alta Seamainds tine AS ne Ahek tha {pro ce ealacl Tus Atame + cmbains Qtmbutes related -+-o the \rocass namely, roeee ; y . ? qroid ls anc more WS Imbermedion Js by Keimel to rnanage all procemes, Vain, "Syy " ee oe “arystew! fuumetion ‘mc Library roids a” care mn 1 agecule QQ Command Apr vithin a. sae tuke a Wy AAs Comrnand tak Woe type ‘ato tne ghell. Dabacr, He “ystems” Commanal Crtede a. Rico |mocesy waning the Memdeil Bash ghell. Fee Cxownble. Ane Aolewing petra vmvekes the “Dy" Commanst Av find tne Contents ob 42 Book cLivedkr Os 3b RD Common “Le “ d Lo were typed jus tre Shell, AH inch Cardi n> me main) £ ME rehutmvallua 5 retwin vals = Auyglom CN Jy LY; nth vetamvelus ; THe "Ayton" Luwehin sebucog He eniks stedes of Fhe WelL Commamal ib tha shell ikielh comnet be mum 4 Aye retudm 12% aml Ub Aone oblen emer otCewth, Aystem WuAms —| FoRKO) P tre DoS ond Windows APT codalns _—————— ne hamcdly oh Sumchions +o atark precevies and. to creeke Ypecemes. Linux does net contain a Angle hunch trad dees Hrs all im oe AMeb. Trttenol, Linux provides ona, humckn, "BoA" anak males a chilel proces Arak 18 am enact ceby ob ibs paterk procens, UNIT-4 ULP © To Crake anes |e, fust we need to use "fork" fo make a cay ob cuttenk process Hom, we. neodk to use “eee! te honsfenn ont ob these Processes into om imslameas of tha program that ore want +o Abawm, > A Gheko cretes chill Pad. Dike fe) a Now S dor oO Dsr Aolf Here se Parent YyrotorS and dates tro SR ERR con able aire birth to amcthet abel ore. * Crcading cess 33 alts Caled Appa wing a pcos, $ ah My- 4.1 $ dete Sok Nov S goist:\s Tst Dol h Sh-4.\ $ Heia dete ig child frocer. An( Shell) As Porowe Prows of date (ULL) Process. Baw Bold it Grod Father of duke, Father of Sh. sh-a+iy $ ps -f vrIp PID = PPED wp. 2220 gag ref 2402 anny rra}ond 13,1) 20% Sh- 4.1 & gece c 0 0 0 STIME TTY ame conty 0:32 bis [bin [pooh ay 20156 Pa] 4h dos S4 pry bs - g > We Gam abso get Complete “mpermation af alt the procemes Unity the Commu “bg ef” Bobs -eb VED — erp ci ail ams bo 4 pPLD ° oO a a a om q oO ° 6 ° ° STIme org Aor ae AME Do! AB Dad TTY tame cmd e ? 7 2 2 60:00 [sbin}init osien [Kiet d] or 10 Lit] 00:40 [ Ksotfingdl}s] 0 0:00 [migration fo) Th Powys Contains y Kaek (5 colle it wild Creales a Ail Poo cones, 2 247493552 malebobebed LSS YL LLY aod abode UNIT-4 ULP maim ) & edb pith (hello! )5 — ol Hme delle Prank 3 (onsin —~ Part Procers da td beeey L ; N eo ES | Ph do, « ME (ROD), 4 5 @ exec Fory > wa Yscc! funn mas popars Turing im a process uth amethot. bret, when a bretpam calls an “eee " function, tae. proces Tmmedihehy skp execdiig thet prqram ond. biging exec a ne pepe Dover ha nn, : 7 | 1 woah Pia | aAanhrhnnanahinnnnin h < : < ( Mechanism ef Protas Creation : Q) woik © ena > Ws 3a phe fined ale tm creation : X i = ob recess. Smmnedialcly aber gra Gothhing g tha tent s ic 4c Ss pcos wokes a Apter cllls to eve ob He walk © fumes, : oy dsm 30 Paronk Proton is waiking fet child pray S jo Y camblade Dba tas. st aumkens only when LE : qecie Colle Boma from child obler ushich Saronk As Pee +0 continue uth hy other functions. TON UNIT-4 ULP © Twitiabization Procomes —& Whon a Linn, Syste ns ds booted og \process shars which midiabize alk Aha Yprecester of Yee AYsiten. Mais [procet® aig Cabbesk wit ran and ib 43 apmercedly Jermecl ah Vera espera pre ean add other \rocoves | 2 a Auphem oN Uh oh Hrs Process. N@ Te hes oy Pry ooh |, pee IHN Process fot PPED (faremk PED) J Oly which Amen no cre a2 chill of frit bwcowes (PED =|) , Tha Login Process TEE OT Regis PY stall fook praxks avd moved Jo wud Wey whenever a system ee veda 9 Hee 1 yeaperh ermine , when A Whe attempts fe enter de Unix emvienmenk 9 Hae Login prepem Bees odor wo veniby ernanna amd prs . a paces Login y Pra. Login program qu Oo Ano Conetponding, to rake user. ne Yel Shon pants a. prep vasally Gor ae od waiks her Bartha inp. Aber Agok g Crnbook as Wehims bo the ik Darr: Tk abte consists tra ran Rewel amd cacides usrich process ty en Ror each rum Level Trt also ensue ne prper rumning fall datwnos: There oft 06 difpere® mam Jewels ov states im wath ane yygiem Cabd bbe pracnk Each rum eel an normally a mavgle. digit bebwena 0 and 6, A dilbert see ob processes art schedbed Si Df Se fi fp fp fo fd Se be th fh te Ot Oe he tt tk hk 2 UNIT-4 ULP @ covdretled by, ready all Or honcin hone te ods on rhs ts Aiclds aluermints $ne forces “nst the be Apaumeocl fy each of He Writ Bede amd Proper to rum at varios bars. Fee exarspla tee Witttal file s say init | abon [cg aypint . 3 \ wnitdalpaute | 5 waik's [Abr [reo Vredpum | gby|oc} | JF £4 ds So Oo $\ \ So cl “ue Arve el Rraim Commarcl. Meare ate numb of acions that init undets : Meese are’ -@ 3ysput > Tt Xs used. fer initializing the system, nnn . ae alte ais input from adwminishaler, @ Raspawns > ris action hes quae tnwd the Yroees nesterts on tetaninalion, ais As aleays vei red pety process. @_Bect_ > Wis actin j Te or Ab enecude shin the tbe tg end ALB Ms a © Kl the Yumi frocets » © condol ate Delele -> Exe cules tne shutdoudy Corman + re Fils > yoy and. Jebel . Combo Hn Wey System By levied and powered down, vehonwel. jae Supe change a vim Level » wut Looks tha Tatete Alle GP ed eniby tric hod oe uthich haul nok rermndg for Yaot Loel. Te Bask PULL tat proces tet thoulol web be muming amd — rerfoaums these Haat thet be umning.. Every Dine in wwitta Sule speobies na erection oh ornare Seapets Apedibieol in fete | | voin . / a S010 4 waik 1 [sb | rco Skt aa + waik | [sbin] rod Sa 4B 4 waks [sb] 7B nnnnannnn? mann nr rAnhhhh hh ta th Th AAADAAD_Ahhh UNIT-4 ULP JOB ConTRoL > Limay 9 Mubtitarhing Ayrtern ancl Area Uald be many mundoet of bbls oy procetses “remming —Simumdameaushs “yn the Linux environment. Mor, ant Leth of tambatank jab Control Commands © Fobs > ris Commornd wo jee Asecialedt WH the nti. Halse gvetre joo Td. $ Joos we Ly + Rurmnivg, Ying www ehetmialhal «Com Jy Gre amegs Ping www. google. Com 6 eS [-1 > Previous job Lr) > anrent Jeb we backgrumal Procettes Fe WG Command ts useol +o move bachrumal procettes to fareareumel. You, Wilf need te gee the Lb TD ot he Proms ily Hho Job Command Tren prefix Mu job 2D uth aL tf otter $4 Command, $4 > Pmeqamimel . Exarnplao § £4 of} ae Job ED oh Procers b @_% > bg a backarourel THE Command move feeqpeund protetteste back qe. To do tng You must Ue (GL + Z) to patie tre Pro com, uoken Yor, do Heist ot) sob it om ge You a. Jeb nurnbor. Bebe Hats jer ro, WHA He oa afbe +e by Gorman Exarpta > $ bg ye 4+ Piva, www hermRaithel. cam x ’ : @_batch > Tee Bub milled by using batch Commanel Asa exeated ushon Ho ayslem ts relatively free. md —Aypherm leas Sg Dighk, Tre ak hich command wl be exceeded 22 decidest by the yslem | 4 batch at> Grep unix file, det chk +D wh lebak Bel6—l1-o8 ANG UNIT-4 ULP @ The ealemion ub attached +e a. jab dont fication no. ‘indicate, Haak the Job hes bean gbomilfect. eo Using loakeh Conmmancl G) Time > Wa cammand fa weal Brow Hee eAOUT OA UsaHe KS amd feet much Hrs is neeolecl +0 ekecule a Commank, \ SS Rme SS ryeall OM. 0004 S USA —-O' MO. DOHA we BUS ome. 3S @ ; OS © Come CeMN Wow dasmm rat Reelp Adecbing mast of the Hime, Tt executes commands thet need +2 be wm requclarla, accarding +o Hme Achedulo, he sehodulo and Conesporcling Aime 43 Bhmedk im the Lille Jobe |crendab , Cam daomm usthes up ewer mi rude ond check er ecutecl Audi ny Wis minde. every, onbry, tw comlab clo [etc| Ganialo Comtain nix field sepatatecl by paca. tw tab Ym the. helo wires Lerm% oe Child © minds Heud. aah monty Day ob — Com ann Week tp be Ck eceteal $ Code Mo crab for rafondor $ Wis filo ig rwlemittesl +o crontaly 28% $ Crontelo Cordentepilh eb $ Coda -2 > fy werls trontal , Oe > edit User, comdab, —¥ > dolele userh Conta , —L > romp bebe dabating user's Cra, —S > relinak cohen, @_ a command > Twa Command te Copulle of ere cating Linng Commarst at a fulure alate ard ima, Tra npuk to Hos Command Comes from tha Atamshats impel g Keyboard. Then He Command. hypeol Os ae ae A epee Fae ee UNIT-4 ULP ce re Job 48 submited using at Command.» ald tha dotail, regarding Jabal Nery date and rea af which Commands ale ectecteal te be displaged - For -examfte ', $ ak +S Nov 8 l6 ay Cab 7 manltha. byt ~ © Onl ~ {ed 18 at msc age Aias ? So manitha Anh Qo mode at alias om Nov 8 4 Qolé tg AR Lube Aime to Chen? a. condos « @ KL > Kilt commart Gon be ujed. to termtnade —_— seaming, proceries ormal daemans + Tt com eliminate Aots xt prowmes utr Ho Grakinstion ot P& Command aml there prees Con nek lee Aripfed om unix Aypiom othersttd. arn ono 64 aAthberk ynals that cam be Bock. You mag Lee them with & wle -L opim. $e -L This command Liat total 64 Kil Agnalle. for edarmbpla® 1) 82, Hvee 3) SEH INT 3) STQQVTT 5) Stm+eap 9) STAK ELL 14) SE@ Smp Be) STE pak & KO fl Ta Comwramd SER KLE the Joly lor | backareund , $ eee -4 | Te force a Process ty Jobat rade = ’ : Ute 1 obttom (Sakti), § Kw 4 You ° on RUD ate procedtes “ached ing 4g Moet by Wing 4 a8 obhion and o ag oe ES ROL Commands nannnnnnennene?2 UNIT-4 ULP @ Network Files > “Wase Qiles conbein Tofrmabion abo Vawlons mah prramelecs. plohwerk files aie, alte called, OF mehr. conbiguaction filbs. © tebe | Rels > ra mahuok rary compile Lebrun as ee eat ek Bat es deta Conrerpondivg oF singe Rambla of [eke | ee Onl O8% \at.Oro.| a Relhert. LoceQdemain @ fete /er- Aneled.. Conf. > Trobe 98 a daemm which 2s aeporsile. Dot piatltug servis fhe delet , BMD. moth Liserg om mulltf plo pests for any connection reypertar when a our Comnection ig lolecteal.y Hp wbeam — keh awa York [usr [sli [top vm ep ywwwack yout | ue] shin | tcp @D [ete | series —> THis file comtaing a pot rebel used. by VOUmd — genn@h on the system, Ths Gull selabed +0 thd comfrey in i Glare Gill rary ALVIAs Namdy His file contains tue Rielle Aervias Nama amc \protocel Weal , 4p aN /Lep Lelwat 2 ]4ep Pomp as [tp Bo Jobe | vesely. Ch > Te rebalie Aotinome bral Tp adolveses » we noel to we domain name servers. mese Aervels map Asitrames to the TP aclahenos, THis mapping Ls necenary because Inletrrot remember Att IP addnrews of each site, The enleaces of this file is: Tt Generates by —rehwerbMana gos demain Lecaldomain geatcr Local domain Namorserver (94, (68. 12-Q LAPPPPPPPPPPP PP Pppppnpnrpppponr np HHH HPN UNIT-4 ULP @ Securzry +> SaCURETY: Much of tro Power ef a Linx system Comes fpom its Bubpert for mui ple user and fet meu king , Mame rer Com we trsysiom ak oncaand thay Com conneck +e tha ayslom from yermate. Locodtims + Buk tho ts a wk, especially fan Sylems Cormecteal te tha Twervak, Uemndel , A\ gent Guumslentes, \ A remo tracker OO 9g mtb, oe remove each dhev's Giles NCehen troy thoulsl not alhowed. te da GVe. urhin tris Aeabpin, aypiem QOyaty As said to have Cormromiseh. he <: kernal. provieles a varied, ch Sacilities to eraune that those treats do not tahoe blac, © Vaews and Giroubs > —_—— Every Linx syslem 25 assigned a Unique vumbor (allel a Wer DD oy VED, vhon ue Lain, ue we a UK rather ham ag userid © TRE Aystem — Comvegty Wer rama to a patios user rp, There com all We mae Ham ona User name Conerpording to a podicular Usierisl Gu thee 4s ne way te aie ME Uk Kawa Not poweh than re Meh one th Ahoy bath beblmy to Same User TY, Each Soup is Abigred. 4 Umiqpe number cabdad A owpid oF GID, Evy group Contains one a moe wee ih A ingle UL TD tom be a. menbo, se LAB geeb Louk spe com net Conder ottay pets s To Rm He er! am i cee se rema a e1nl eS on a, $ iL wd = See Carded) gid 6x) (ae freee Sh ge de $eche ¢ vrp Seo $ @ Red and Eflectve pk Every process ‘m Lig Mos two wen Tpls Ho Aas Rod user TD and elective We LD. Alto om ebfacie qreubTd and real grep TD. Met of +ho time, Kermol checks obs ebbechve user LD, for examble, ushin a proces es to open a file Ho Kermol checks He ebbeciie user TD and PPPPLD PDD DS pops ee ee ee (3D UNIT-4 ULP — se canmajerdiony ome " amd. “ged iol Rumetions sebum tre rea Wier Ld and rea % ae Th We wank +o change tha effedive wer ED eb am already, umniyg, prwcess 9 Karnal, Aachis tha rtal a3 urdh af ebbectve wet LD, @ Sticky ck > se ossiieg a ea een ede Portion » Marty a mnngie bit edad aoa icy bi. hs Sh applies only to disederies A Also chr WEAnct fas a Boky bit sek allows us EO tle oly om ares ena ob ene Que. Nowmelly une cam dabate o Lilo oly Bw ve fae unite ACOB te dined tsk combating Oe pre dh we are net the cue oh thet Rilo. & Reus Ausedmies im Unt Aytlts Ahave Bticky Lit sek, Fist encarta emp divedey nm which wsel can ‘place Hee embry Gals hos sticky bb set, $ mhdi, Richy YY Sidoname Heche “hellouwkd” 7 fill txt Zh mv gle, der shihay / $ ts —pa sticky dAawxowX T— YH. A reypuder yejendo 446 rev Bliss sticky $ aw Raswnre ; Sh yma tt wichy Hs Mb Richy drwuxruxe-t, wenden reYonslar 404 6 No 4 Alt 5S \Bticky 45 sticky @ Restricted hell S ir gardard shold “Tix alles ht Ack te wove, alate a 5ilt gti amd exead® Gmmards. To rerbick Ae ahWhe of A Wey a Npecial term fh wholl 23 breseat wm allmat ADD verion o wig cdlod gesbicterl whol oy xh. 5 UML Comnst change any cleeday amd. farce to wok unde hs rome ov HOME disedmy only, 5 awa OS hor Wes Lue amd prteyes 48 cubivg, dat +o Atay Beads, +e bagh — a chk He ped 7 ile tet com not

You might also like