Lecture 11: Context Switching in OS | Medium Term Scheduler | Orphan/Zombie Process

  Рет қаралды 139,606

CodeHelp - by Babbar

CodeHelp - by Babbar

Күн бұрын

Пікірлер: 197
@satyamjha6268
@satyamjha6268 Жыл бұрын
Windows: Windows Operating System limits the number of process table entries to 65536. Linux: The maximum number of process table entries in Linux varies based on the distribution, architecture and kernel version. In general, it ranges from 32768 to 4194304.
@farisshariff7507
@farisshariff7507 2 жыл бұрын
Best O.S playlist for placement, Quality Content and consistency🔥
@amitavaghosh7201
@amitavaghosh7201 2 жыл бұрын
This level of consistency I have not seen before
@professorop5994
@professorop5994 5 ай бұрын
the main helpful point of this OS series is ki: jav jav old topic occurs hue hai.. wo dubara revised kraye hue hai ,, esa nahi bola ki pichli vedio dekh ke aao ( ONE OF THE GOOD PART OF THE SERIES)❤
@vinayaksaini4996
@vinayaksaini4996 2 жыл бұрын
koi bhi babbar bhaiya ke break-up ke baare me baat nhi kr raha hai ... 😢 ab kaise ho bhaiya? hota hai sbke sath.. kaam ko priority dene wale laDko ke sath aisa jaroor hota hai.. koi baat nhi bhaiya dusri aayegi.. be positive.. . . . . . AND A BIG BIG THANKS TO BOTH OF YOU FOR THIS SERIES ❤❤ (gustaakhi maaf! 😜🙏)
@vaibhavindoliya8139
@vaibhavindoliya8139 9 ай бұрын
tujhe kese pta chala breakup ke baare mein??
@sahilshrivastava6455
@sahilshrivastava6455 7 ай бұрын
Bhai tujhe ek bandi ki bhut need hai🤢
@shivangairan5119
@shivangairan5119 6 ай бұрын
Sabke Saath nahi hota hai ;(
@shreyasings-rp8ui
@shreyasings-rp8ui 2 жыл бұрын
You are the best! Day after Tomorrow I have a job interview fealt like wouldn't be able to revise anything in os but the level of clarity with which you are teaching is phenomenal ! Seriously so helpful!!!!
@SRIJAN_7
@SRIJAN_7 Жыл бұрын
@CarryMinati Who gives the Fook
@keshavgambhir9894
@keshavgambhir9894 2 жыл бұрын
Present bhaiya Attended all os lectures till date Consistency op 🔥🔥 And amazing thumbnail 🤩🤩 Thanks a lot for all efforts
@anushkayachit
@anushkayachit 2 жыл бұрын
OS videos consistency OP !!!! keep uploading bhaiiii 🔥🔥🖤🖤
@0708Sunshine
@0708Sunshine 2 жыл бұрын
Bhaiya mazza aa gya. Kaafi OP lecture tha. Agle lecture Ka behadd intezaar rahega :)
@shaileshkaiwart7190
@shaileshkaiwart7190 2 жыл бұрын
Terminal me kya karte ho kuch samjh nahi aa rha. 😖😖😖
@shrishtiprajapati3357
@shrishtiprajapati3357 8 ай бұрын
this complete playlist is very beneficial the explain and notes both are soooo accurate
@arnabsaha9277
@arnabsaha9277 2 жыл бұрын
Started a little late but finally caught up with the course. And by the way thank you the course. Now also expecting the DBMS course to come.
@anuragpandey8165
@anuragpandey8165 2 жыл бұрын
Announcement done starting from June ….. Yay!
@anuptewary3016
@anuptewary3016 2 жыл бұрын
Koi baat nhi love Babbar bhaiya padhai to kar na padge ga this line is Epic 🤣🤣🤣 please bhaiya video ka beech beech mein joke kar ta rakhen bhaiya maja a ta haa ❤️😁
@CharitraAgarwal
@CharitraAgarwal 4 ай бұрын
babbar bhaiya ka breakup ho gya or tmko maja aa rha 😥
@kashishbagga1032
@kashishbagga1032 2 жыл бұрын
Amazing course. Waiting for Networking course😍😍
@aparnamanna1369
@aparnamanna1369 2 жыл бұрын
I have not seen such level of content till now
@ranuchaubey90
@ranuchaubey90 2 жыл бұрын
present bhaiya! your all OS lectures are superb, thanks for all your efforts
@hypnotizemusic998
@hypnotizemusic998 2 жыл бұрын
Lecture and consistency is good just one feedback just zoom the screen while you code on terminal it isn't visible enough to see all process happening
@SahilRajpal19
@SahilRajpal19 2 жыл бұрын
what a video all concepts get cleared
@bat_man1138
@bat_man1138 2 жыл бұрын
Pid_max Linux 32 bit platform- 32678 64 bit platform- 2^22
@DeepakKumar-qw7lp
@DeepakKumar-qw7lp 2 жыл бұрын
Babbar bhaiya op 😁 break up💔 Present bhaiya ❤️
@newbienate
@newbienate 2 жыл бұрын
Great concise playlist. Really useful for non cs peeps
@kms8320
@kms8320 2 жыл бұрын
how many of you repeated the part of the video when babbar bhaiya is talking? 😁💖😍
@Bollywood_status1889
@Bollywood_status1889 2 жыл бұрын
4 times 😁😁
@leeavi2660
@leeavi2660 2 жыл бұрын
5 times
@motivationdii6456
@motivationdii6456 2 жыл бұрын
me
@viplawkumaraniket5522
@viplawkumaraniket5522 Жыл бұрын
3 times
@ankushladani496
@ankushladani496 2 жыл бұрын
Swiggy wala example was op!!!
@nikhilbatra3671
@nikhilbatra3671 10 ай бұрын
excellent explanation, windows -> maximum process ID is 2^24 (16,777,216)
@0708Sunshine
@0708Sunshine 2 жыл бұрын
Thank you bhaiya, your efforts are highly appreciated
@rishipreethamkarpurapu3017
@rishipreethamkarpurapu3017 2 жыл бұрын
its really nice to see the hands on experience from terminal. no other creator has done it.. but it would be really good if you include terminal of windows.. since many use windows it will be easy for us to understand and also to practice by our own. just a suggestion :))
@shashhid___98gg
@shashhid___98gg 4 ай бұрын
18:12 Love this banter
@yashnarkhedkar3734
@yashnarkhedkar3734 2 жыл бұрын
HomeWork: The number of entries in windows process table are total 8 entries & in LINUX there are 512 entries
@statisticsonsteroids
@statisticsonsteroids Жыл бұрын
source pls? cannot find
@bhaveshkumar6842
@bhaveshkumar6842 2 жыл бұрын
Bahot sahi content! ❤
@DeepakKumar-oz5ky
@DeepakKumar-oz5ky 6 ай бұрын
A zombie process refers to a process that has completed its execution and waiting for its parent to collect its exit status, whereas an orphan process is still in its execution phase even after its parent terminates.
@harshjain7945
@harshjain7945 2 жыл бұрын
Quality Content!!
@abhishekrauniyar25
@abhishekrauniyar25 8 ай бұрын
Awesome explanation
@jericodcosta2049
@jericodcosta2049 2 жыл бұрын
Attandance marked OS considered consistent ✅
@54_jeevankumarchoudhary55
@54_jeevankumarchoudhary55 2 жыл бұрын
Sir you told that any parent process calls wait command to know the exit status of child process. What is time after which any parent process calls wait command. What are the factors that decide the time for calling wait command.
@raghavgupta1998
@raghavgupta1998 2 жыл бұрын
Nice video. Good hanson concept.
@codesrhodes3757
@codesrhodes3757 2 жыл бұрын
Really loving your efforts 🎉🎉🔥🔥
@yashgupta4866
@yashgupta4866 2 жыл бұрын
Present bhaiya Not skipped a single lecture of dsa course and os course Reach++
@kms8320
@kms8320 2 жыл бұрын
bahot mast video he
@poojamarmat9920
@poojamarmat9920 3 ай бұрын
Nice session...🙌
@sreenija3703
@sreenija3703 6 ай бұрын
The best 🔥
@adityasaini8437
@adityasaini8437 2 жыл бұрын
ultimate bhaiyaa!!
@rakshitdevra7060
@rakshitdevra7060 2 жыл бұрын
Maza aa raha hai Padhne mai sirji
@moment7206
@moment7206 Жыл бұрын
quality🔥🔥🔥
@dipikasrivastava0204
@dipikasrivastava0204 2 жыл бұрын
Best explanation
@shantanuhallur6825
@shantanuhallur6825 2 жыл бұрын
Thank you Lakshyay Bhaiiya !!
@dipaligangawane980
@dipaligangawane980 2 жыл бұрын
Really very good content.
@sherebanoburhani8939
@sherebanoburhani8939 2 жыл бұрын
Best os course
@alokranjan3185
@alokranjan3185 2 жыл бұрын
best os playlist
@adityabhate8652
@adityabhate8652 2 жыл бұрын
Bash prg. ka bho ek course leke aao plz Awesome content!!!
@rutvikjadhav1325
@rutvikjadhav1325 2 жыл бұрын
Bahot nend aa rahi thi love bhai ka break UP sun kar nend hi cali gai 😅😂
@dhruvabhattacharya
@dhruvabhattacharya 2 жыл бұрын
@tushargarg8622
@tushargarg8622 2 жыл бұрын
majja aa gaya
@tejassavpandey7767
@tejassavpandey7767 11 ай бұрын
The example used for context switching in the beginning (music and swiggy) is more relevant for context saving rather than context swtiching.Correct me if I am wrong.
@leeavi2660
@leeavi2660 2 жыл бұрын
awesome teaching
@vedantdeshmukh1549
@vedantdeshmukh1549 2 жыл бұрын
you are a motivation for us bhaiya
@vipulchaudhary_js
@vipulchaudhary_js 2 жыл бұрын
Take care Love Bhaiya
@abdulrazzak2934
@abdulrazzak2934 2 жыл бұрын
maza aagaya bha
@atanmehdi6681
@atanmehdi6681 2 жыл бұрын
Hum first hum first😅
@siliconvalley6774
@siliconvalley6774 Жыл бұрын
Job Queue - Secondary Memory Ready Queue - Primary Memory
@PrikExplains
@PrikExplains Ай бұрын
In last zombie process example, you are calling sleep 1 with &, why is it not created under main init process ( pid 1 ) ? Why its parent process id is still pointing to the script pid ?
@063himanshumishra4
@063himanshumishra4 2 жыл бұрын
Bhaiya moj kr diii
@am_shayantan
@am_shayantan 4 ай бұрын
the way babbar said "break up" 😂😂
@shiwani9146
@shiwani9146 2 жыл бұрын
Lecture 11 completed ✅
@praveentiwari629
@praveentiwari629 2 жыл бұрын
Wonderful Content ;)
@dipeshjain7497
@dipeshjain7497 2 жыл бұрын
The os playlist is awesome. but please try to make the video regularly like in a week at least three videos sir.
@adityaojha2701
@adityaojha2701 2 жыл бұрын
In Progress.....
@prateeksingh5719
@prateeksingh5719 Жыл бұрын
The default number of maximum table entries in the process table ranges from 10,000 to 32,000 in windows and 4096 in Linux.
@TechUprise-by-Jyoti
@TechUprise-by-Jyoti 2 жыл бұрын
Thank you so much bhaiya 🙃🙃
@raghavgupta1998
@raghavgupta1998 2 жыл бұрын
When u have used "sleep 1&", why is the PPID != 1 ???? Ideally all sleeps should have been independent processes and zombie.sh should not have called wait() for them. Init() should have called wait for them. please explain where is the gap. Thanku in advance bhaiya.
@sudipd
@sudipd 2 жыл бұрын
Keep uploading vaiya
@coderscooby
@coderscooby 2 жыл бұрын
Attendance marked sir !
@VinodKumar-hm6do
@VinodKumar-hm6do 2 жыл бұрын
Amazing👍
@vikasreddyravulapalli5562
@vikasreddyravulapalli5562 Жыл бұрын
in the hands on of the zombie process why did we use sleep 1& instead we could use sleep 1 right?? bcz it makes the process detach from parent process rightt????
@virajchopade552
@virajchopade552 Жыл бұрын
18.35 point to be noted
@bittubabu25
@bittubabu25 Жыл бұрын
mera window system hai cmd run nhi ho rhaa hai ??
@bpratikvinod8110
@bpratikvinod8110 2 жыл бұрын
A page, which is 4096 bytes on both x86 and x64, can store 512 entries on 32-bit Windows and 256 entries on 64-bit Windows.
@ishashuklaa
@ishashuklaa 2 жыл бұрын
Thank you bhaiya!
@adityacr7407
@adityacr7407 Жыл бұрын
Is on-hands part is important for the interview ?
@somesh1934
@somesh1934 2 жыл бұрын
Present Bhaiya
@abdulrazzak2934
@abdulrazzak2934 2 жыл бұрын
accha explain kare
@_rishi_ranjan
@_rishi_ranjan Жыл бұрын
You just wrote command in terminal but did not tell anything about that program and what are it's syntax and how to write code
@VIKASHKUMAR-mn6cs
@VIKASHKUMAR-mn6cs 2 жыл бұрын
sir, degree of programming is no of process in ready queue or no of process in memory which can go to ready queue?
@gena8414
@gena8414 2 жыл бұрын
Number of processes in the ready queue.
@not_amanullah
@not_amanullah 9 ай бұрын
Continue mern Stack 😢
@ridhimaam6251
@ridhimaam6251 Жыл бұрын
With exec and child process spawned with an &, does the parent process here wait for the child processes (the zombie processes)exit status even without using wait()?
@vishalparashar4976
@vishalparashar4976 28 күн бұрын
lekin bhiya mts ke to sim or phone aate the ab ye scheduling me bhi gus gya
@devanijay9097
@devanijay9097 Жыл бұрын
Thank you sir
@UECAshutoshKumar
@UECAshutoshKumar 6 ай бұрын
Thank You!!!!
@mohdhammadsiddiqui
@mohdhammadsiddiqui Жыл бұрын
Job queue is in secondary memory or main memory?? please confirm
@mayurknair
@mayurknair Жыл бұрын
Sir what will be command for windows operating system? for trying the hands on
@naive-fleek7420
@naive-fleek7420 4 ай бұрын
was here @11:29 pm finished @ 12:10 am
@cooldude0321
@cooldude0321 6 ай бұрын
01/07/24 MTS,ZOmbie ,Orphan Process cleared++ Lakshay bhaiyaa
@coder_21
@coder_21 6 ай бұрын
Best explanation 🫡
@amchourasia
@amchourasia 2 жыл бұрын
Commenting for better reach of the video
@tirthankarchakraborty1247
@tirthankarchakraborty1247 Жыл бұрын
is handson required for placements??
@jayminpatil6168
@jayminpatil6168 2 жыл бұрын
OP
@JamesHalpert8555
@JamesHalpert8555 2 жыл бұрын
Doubts: 1. Init hi bss eklauta parent process hota hai OS me?? Kiuki baaki sab process hi kisi na kisi parent kah child hai 2. Agar parent process me wait() nhi rehene ke karan bahut zombie process table me reh gya...toh uss time kya system crash ho jayega? Usko ultimately kaun handle krega??
@sde77
@sde77 2 жыл бұрын
Ans: 1. yes init is the only parent process in the system, rest all are the child process of this zeroth process. 2. System crash is bit extreme word, infact if there are too many of zombie process, the process table which is finite in number, at some point of time will become full, hence making it unable for OS to run other processess. I feel, u by now, might have come up with a solution to these questions, but still for the reference of future readers, i wished to highlight this.
@anmoldua9755
@anmoldua9755 2 жыл бұрын
& will create a new process... In the orphan example, it's cleared with ppid 1 But in zombie example, the ppid is not 1 for the new process created using &. Can you explain... Why is that....????
@lakshaykumar7518
@lakshaykumar7518 2 жыл бұрын
Please revise the video, you will find the parent of "sleep 1& " has not exited.
@anmoldua9755
@anmoldua9755 2 жыл бұрын
@sufyaan khateeb yes I understood this part... But as lakshay sir told that there will be a resource leak if the parent exits first...? But if the parent exits in the above zombie process code.. Then all 100 (sleep 1 &) parent will be init..all the process will give the exit status to init and entries will be removed from the process table.. So how come there will be increase in process table(why would the process entries will not be deleted) .. It will be cleared like before..
@anmoldua9755
@anmoldua9755 2 жыл бұрын
@@lakshaykumar7518 thanku .. I got this part.. I have one more query.. Kindly help to reply.. I added just below it. Thanks in advance.
@prashantsaini2290
@prashantsaini2290 2 жыл бұрын
Why parent process (waiting for child's status) did not immediately read the status of child ?? And letting the creation of zombie process ?
@nishchaygupta9988
@nishchaygupta9988 2 жыл бұрын
Hey. I'm unable to run the commands Lakshay bhaiya is writing the in the terminal. Anybody please help me. I'm unable to proceed after the writing the cd desktop command.
@ramsujanrajak6883
@ramsujanrajak6883 Жыл бұрын
bhaiya ye command CMD me ni chal rahi he
@anuragbhattacharya2720
@anuragbhattacharya2720 2 жыл бұрын
CPU can handelmaximum 2^22 processes.
Lecture 12: What is Convoy Effect | FCFS CPU Scheduling Algorithm
24:55
CodeHelp - by Babbar
Рет қаралды 113 М.
Lecture 10: What are different Process States in Operating System ?
18:18
CodeHelp - by Babbar
Рет қаралды 114 М.
Мен атып көрмегенмін ! | Qalam | 5 серия
25:41
My scorpion was taken away from me 😢
00:55
TyphoonFast 5
Рет қаралды 2,7 МЛН
Quando A Diferença De Altura É Muito Grande 😲😂
00:12
Mari Maria
Рет қаралды 45 МЛН
Operating System In One Shot by Anuj Bhaiya 🔥
1:11:19
Coding Shuttle by Anuj Bhaiya
Рет қаралды 696 М.
The Dome Paradox: A Loophole in Newton's Laws
22:59
Up and Atom
Рет қаралды 1 МЛН
Lecture 9: How OS creates a PROCESS  || Introduction to Process
37:35
CodeHelp - by Babbar
Рет қаралды 153 М.
Ep : 5 I Jain Philosophy: An Introduction I Dr Vikas Divyakirti
3:29:27
Vikas Divyakirti
Рет қаралды 12 МЛН
Lecture 28: What is Virtual Memory? || Page fault in OS
44:15
CodeHelp - by Babbar
Рет қаралды 79 М.
Data Analysis with Python for Excel Users - Full Course
3:57:46
freeCodeCamp.org
Рет қаралды 3,4 МЛН