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

แชร์
ฝัง
  • เผยแพร่เมื่อ 31 ม.ค. 2025

ความคิดเห็น • 200

  • @farisshariff7507
    @farisshariff7507 3 ปีที่แล้ว +43

    Best O.S playlist for placement,
    Quality Content and consistency🔥

  • @satyamjha6268
    @satyamjha6268 2 ปีที่แล้ว +89

    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.

  • @amitavaghosh7201
    @amitavaghosh7201 3 ปีที่แล้ว +44

    This level of consistency I have not seen before

  • @shreyasings-rp8ui
    @shreyasings-rp8ui 2 ปีที่แล้ว +6

    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

  • @professorop5994
    @professorop5994 6 หลายเดือนก่อน +4

    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)❤

  • @keshavgambhir9894
    @keshavgambhir9894 3 ปีที่แล้ว +10

    Present bhaiya
    Attended all os lectures till date
    Consistency op 🔥🔥
    And amazing thumbnail 🤩🤩
    Thanks a lot for all efforts

  • @vinayaksaini4996
    @vinayaksaini4996 3 ปีที่แล้ว +36

    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 11 หลายเดือนก่อน +5

      tujhe kese pta chala breakup ke baare mein??

    • @sahilshrivastava6455
      @sahilshrivastava6455 8 หลายเดือนก่อน +2

      Bhai tujhe ek bandi ki bhut need hai🤢

    • @shivangairan5119
      @shivangairan5119 7 หลายเดือนก่อน +1

      Sabke Saath nahi hota hai ;(

  • @anushkayachit
    @anushkayachit 3 ปีที่แล้ว +5

    OS videos consistency OP !!!! keep uploading bhaiiii 🔥🔥🖤🖤

  • @0708Sunshine
    @0708Sunshine 2 ปีที่แล้ว +1

    Bhaiya mazza aa gya. Kaafi OP lecture tha.
    Agle lecture Ka behadd intezaar rahega :)

  • @arnabsaha9277
    @arnabsaha9277 2 ปีที่แล้ว +22

    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 ปีที่แล้ว +2

      Announcement done starting from June ….. Yay!

  • @ranuchaubey90
    @ranuchaubey90 3 ปีที่แล้ว +2

    present bhaiya! your all OS lectures are superb, thanks for all your efforts

  • @shrishtiprajapati3357
    @shrishtiprajapati3357 9 หลายเดือนก่อน +1

    this complete playlist is very beneficial the explain and notes both are soooo accurate

  • @aparnamanna1369
    @aparnamanna1369 3 ปีที่แล้ว +2

    I have not seen such level of content till now

  • @hypnotizemusic998
    @hypnotizemusic998 2 ปีที่แล้ว +8

    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

  • @DeepakKumar-oz5ky
    @DeepakKumar-oz5ky 7 หลายเดือนก่อน +1

    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.

  • @SahilRajpal19
    @SahilRajpal19 2 ปีที่แล้ว +2

    what a video all concepts get cleared

  • @anuptewary3016
    @anuptewary3016 2 ปีที่แล้ว +11

    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 5 หลายเดือนก่อน

      babbar bhaiya ka breakup ho gya or tmko maja aa rha 😥

  • @newbienate
    @newbienate 2 ปีที่แล้ว +1

    Great concise playlist. Really useful for non cs peeps

  • @kashishbagga1032
    @kashishbagga1032 2 ปีที่แล้ว +2

    Amazing course. Waiting for Networking course😍😍

  • @shaileshkaiwart7190
    @shaileshkaiwart7190 2 ปีที่แล้ว +38

    Terminal me kya karte ho kuch samjh nahi aa rha. 😖😖😖

  • @0708Sunshine
    @0708Sunshine 3 ปีที่แล้ว +2

    Thank you bhaiya, your efforts are highly appreciated

  • @rishipreethamkarpurapu3017
    @rishipreethamkarpurapu3017 2 ปีที่แล้ว +7

    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 :))

  • @ankushladani496
    @ankushladani496 3 ปีที่แล้ว +2

    Swiggy wala example was op!!!

  • @shashhid___98gg
    @shashhid___98gg 5 หลายเดือนก่อน

    18:12 Love this banter

  • @nikhilbatra3671
    @nikhilbatra3671 ปีที่แล้ว

    excellent explanation, windows -> maximum process ID is 2^24 (16,777,216)

  • @tejassavpandey7767
    @tejassavpandey7767 ปีที่แล้ว

    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.

  • @DeepakKumar-qw7lp
    @DeepakKumar-qw7lp 3 ปีที่แล้ว +4

    Babbar bhaiya op 😁 break up💔
    Present bhaiya ❤️

  • @bhaveshkumar6842
    @bhaveshkumar6842 2 ปีที่แล้ว

    Bahot sahi content! ❤

  • @codesrhodes3757
    @codesrhodes3757 2 ปีที่แล้ว

    Really loving your efforts 🎉🎉🔥🔥

  • @abhishekrauniyar25
    @abhishekrauniyar25 9 หลายเดือนก่อน +1

    Awesome explanation

  • @harshjain7945
    @harshjain7945 2 ปีที่แล้ว +1

    Quality Content!!

  • @yashgupta4866
    @yashgupta4866 3 ปีที่แล้ว +1

    Present bhaiya
    Not skipped a single lecture of dsa course and os course
    Reach++

  • @bat_man1138
    @bat_man1138 2 ปีที่แล้ว +8

    Pid_max
    Linux
    32 bit platform- 32678
    64 bit platform- 2^22

  • @54_jeevankumarchoudhary55
    @54_jeevankumarchoudhary55 2 ปีที่แล้ว +4

    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.

  • @jericodcosta2049
    @jericodcosta2049 3 ปีที่แล้ว +4

    Attandance marked OS considered consistent ✅

  • @poojamarmat9920
    @poojamarmat9920 4 หลายเดือนก่อน

    Nice session...🙌

  • @shantanuhallur6825
    @shantanuhallur6825 2 ปีที่แล้ว

    Thank you Lakshyay Bhaiiya !!

  • @yashnarkhedkar3734
    @yashnarkhedkar3734 2 ปีที่แล้ว +33

    HomeWork: The number of entries in windows process table are total 8 entries & in LINUX there are 512 entries

  • @vedantdeshmukh1549
    @vedantdeshmukh1549 3 ปีที่แล้ว

    you are a motivation for us bhaiya

  • @raghavgupta1998
    @raghavgupta1998 2 ปีที่แล้ว

    Nice video. Good hanson concept.

  • @sreenija3703
    @sreenija3703 8 หลายเดือนก่อน

    The best 🔥

  • @adityasaini8437
    @adityasaini8437 3 ปีที่แล้ว

    ultimate bhaiyaa!!

  • @vipulchaudhary_js
    @vipulchaudhary_js 2 ปีที่แล้ว

    Take care Love Bhaiya

  • @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.

  • @JamesHalpert8555
    @JamesHalpert8555 2 ปีที่แล้ว +1

    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.

  • @alokranjan3185
    @alokranjan3185 2 ปีที่แล้ว

    best os playlist

  • @dipaligangawane980
    @dipaligangawane980 2 ปีที่แล้ว

    Really very good content.

  • @moment7206
    @moment7206 ปีที่แล้ว

    quality🔥🔥🔥

  • @dipeshjain7497
    @dipeshjain7497 3 ปีที่แล้ว

    The os playlist is awesome. but please try to make the video regularly like in a week at least three videos sir.

  • @sherebanoburhani8939
    @sherebanoburhani8939 3 ปีที่แล้ว

    Best os course

  • @dipikasrivastava0204
    @dipikasrivastava0204 3 ปีที่แล้ว +1

    Best explanation

  • @PrikExplains
    @PrikExplains 2 หลายเดือนก่อน

    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 ?

  • @TechUprise-by-Jyoti
    @TechUprise-by-Jyoti 3 ปีที่แล้ว

    Thank you so much bhaiya 🙃🙃

  • @adityabhate8652
    @adityabhate8652 2 ปีที่แล้ว

    Bash prg. ka bho ek course leke aao plz
    Awesome content!!!

  • @shiwani9146
    @shiwani9146 2 ปีที่แล้ว +1

    Lecture 11 completed ✅

  • @siliconvalley6774
    @siliconvalley6774 ปีที่แล้ว +2

    Job Queue - Secondary Memory
    Ready Queue - Primary Memory

  • @rakshitdevra7060
    @rakshitdevra7060 2 ปีที่แล้ว

    Maza aa raha hai Padhne mai sirji

  • @rutvikjadhav1325
    @rutvikjadhav1325 2 ปีที่แล้ว +3

    Bahot nend aa rahi thi love bhai ka break UP sun kar nend hi cali gai 😅😂

  • @raghavgupta1998
    @raghavgupta1998 2 ปีที่แล้ว +1

    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.

  • @kms8320
    @kms8320 2 ปีที่แล้ว

    bahot mast video he

  • @leeavi2660
    @leeavi2660 2 ปีที่แล้ว

    awesome teaching

  • @praveentiwari629
    @praveentiwari629 2 ปีที่แล้ว

    Wonderful Content ;)

  • @VIKASHKUMAR-mn6cs
    @VIKASHKUMAR-mn6cs 2 ปีที่แล้ว +1

    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.

  • @am_shayantan
    @am_shayantan 5 หลายเดือนก่อน

    the way babbar said "break up" 😂😂

  • @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????

  • @anmoldua9755
    @anmoldua9755 2 ปีที่แล้ว +1

    & 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 ปีที่แล้ว +1

      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.

  • @anuragbhattacharya2720
    @anuragbhattacharya2720 2 ปีที่แล้ว +1

    CPU can handelmaximum 2^22 processes.

  • @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 ?

  • @tushargarg8622
    @tushargarg8622 2 ปีที่แล้ว

    majja aa gaya

  • @adityaojha2701
    @adityaojha2701 2 ปีที่แล้ว +1

    In Progress.....

  • @_rishi_ranjan
    @_rishi_ranjan ปีที่แล้ว +1

    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

  • @ishashuklaa
    @ishashuklaa 3 ปีที่แล้ว

    Thank you bhaiya!

  • @tanmaysinghal8370
    @tanmaysinghal8370 3 ปีที่แล้ว +1

    Bhaiya orphan process mein vo uss child process ko seedha terminate kyu nahi deta. Jab uska parent process hi nahi terminate ho gya to child process ka to kuch use hi nahi raha jaega...

    • @lakshaykumar7518
      @lakshaykumar7518 3 ปีที่แล้ว

      What if that child process is doing something really important work.

  • @VinodKumar-hm6do
    @VinodKumar-hm6do 2 ปีที่แล้ว

    Amazing👍

  • @bheemsingh-fh1zu
    @bheemsingh-fh1zu 3 ปีที่แล้ว +1

    Bhaiya handwritten notes update nhi hue av tk?
    Kal bola tha aapne update krdunga😁🙏🙏

    • @CodeHelp
      @CodeHelp  3 ปีที่แล้ว

      Let me check

    • @CodeHelp
      @CodeHelp  3 ปีที่แล้ว

      Check Community Post, Added all notes there

    • @bheemsingh-fh1zu
      @bheemsingh-fh1zu 3 ปีที่แล้ว

      Thank you very much bhaiya ❤️❤️😁

  • @hackerrank-coder6698
    @hackerrank-coder6698 2 ปีที่แล้ว

    bhiya mujha sb smj agya orphan process or Zombie process but ik doubt h ki koi process apni child process kyu banati h
    please explain

  • @avinashpathak4371
    @avinashpathak4371 2 ปีที่แล้ว

    Ye Lakshay bhaiya ek progrma command main run kr rahe orr ek orr kha run kr rahe hai ...?

  • @virajchopade552
    @virajchopade552 ปีที่แล้ว

    18.35 point to be noted

  • @abdulrazzak2934
    @abdulrazzak2934 2 ปีที่แล้ว

    maza aagaya bha

  • @coderscooby
    @coderscooby 3 ปีที่แล้ว

    Attendance marked sir !

  • @shubhrajit2117
    @shubhrajit2117 4 วันที่ผ่านมา

    The orphan process demo didnt work for me in WSL :(

  • @adityacr7407
    @adityacr7407 ปีที่แล้ว

    Is on-hands part is important for the interview ?

  • @sudipd
    @sudipd 3 ปีที่แล้ว

    Keep uploading vaiya

  • @coder_21
    @coder_21 8 หลายเดือนก่อน

    Best explanation 🫡

  • @mohdhammadsiddiqui
    @mohdhammadsiddiqui ปีที่แล้ว

    Job queue is in secondary memory or main memory?? please confirm

  • @063himanshumishra4
    @063himanshumishra4 3 ปีที่แล้ว

    Bhaiya moj kr diii

  • @atanmehdi6681
    @atanmehdi6681 3 ปีที่แล้ว +2

    Hum first hum first😅

  • @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()?

  • @bittubabu25
    @bittubabu25 ปีที่แล้ว +1

    mera window system hai cmd run nhi ho rhaa hai ??

  • @vivelafootball4835
    @vivelafootball4835 2 ปีที่แล้ว +1

    Does Multiprogramming depend on ssd/hdd speed??

  • @mayurknair
    @mayurknair ปีที่แล้ว

    Sir what will be command for windows operating system? for trying the hands on

  • @devanijay9097
    @devanijay9097 ปีที่แล้ว

    Thank you sir

  • @amchourasia
    @amchourasia 2 ปีที่แล้ว

    Commenting for better reach of the video

  • @lokesh4679
    @lokesh4679 2 ปีที่แล้ว

    bhaiya orphan or zombie process ko khud se practically krk dekhna chate h but bash script create kaese kare?

  • @somesh1934
    @somesh1934 2 ปีที่แล้ว

    Present Bhaiya

  • @AnuMessi10
    @AnuMessi10 3 ปีที่แล้ว

    💥💥💥

  • @VaibhavGhage
    @VaibhavGhage ปีที่แล้ว

    18:18 babbar bhai ko kyu toda 🤣🤣

  • @sjcreations2490
    @sjcreations2490 3 ปีที่แล้ว

    nice explanation

  • @bpratikvinod8110
    @bpratikvinod8110 2 ปีที่แล้ว +5

    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.

  • @rahulkumargupta2333
    @rahulkumargupta2333 2 ปีที่แล้ว

    sir swapping me process swapped space me jata h ,but i want to ask that jo process swapped area me move ho rhi h wo kaha se hoti h,ready queue se direct swapped space ya phir cpu me jaane k bad swapped space me jaati h .