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

Sdílet
Vložit
  • čas přidán 9. 09. 2024

Komentáře • 192

  • @satyamjha6268
    @satyamjha6268 Před rokem +73

    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 Před 2 lety +41

    This level of consistency I have not seen before

  • @shaileshkaiwart7190
    @shaileshkaiwart7190 Před rokem +25

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

  • @farisshariff7507
    @farisshariff7507 Před 2 lety +39

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

  • @vinayaksaini4996
    @vinayaksaini4996 Před 2 lety +33

    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! 😜🙏)

  • @professorop5994
    @professorop5994 Před 2 měsíci +3

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

  • @shreyasings-rp8ui
    @shreyasings-rp8ui Před 2 lety +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 Před rokem

      @CarryMinati Who gives the Fook

  • @keshavgambhir9894
    @keshavgambhir9894 Před 2 lety +10

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

  • @arnabsaha9277
    @arnabsaha9277 Před 2 lety +21

    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.

  • @shrishtiprajapati3357
    @shrishtiprajapati3357 Před 4 měsíci +1

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

  • @bat_man1138
    @bat_man1138 Před 2 lety +8

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

  • @anushkayachit
    @anushkayachit Před 2 lety +5

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

  • @hypnotizemusic998
    @hypnotizemusic998 Před 2 lety +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

  • @anuptewary3016
    @anuptewary3016 Před 2 lety +9

    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 Před 10 dny

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

  • @kashishbagga1032
    @kashishbagga1032 Před rokem +2

    Amazing course. Waiting for Networking course😍😍

  • @shashhid___98gg
    @shashhid___98gg Před 21 dnem

    18:12 Love this banter

  • @ranuchaubey90
    @ranuchaubey90 Před 2 lety +2

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

  • @aparnamanna1369
    @aparnamanna1369 Před 2 lety +2

    I have not seen such level of content till now

  • @rishipreethamkarpurapu3017

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

  • @DeepakKumar-oz5ky
    @DeepakKumar-oz5ky Před 3 měsíci +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.

  • @0708Sunshine
    @0708Sunshine Před 2 lety +1

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

  • @kms8320
    @kms8320 Před 2 lety +63

    how many of you repeated the part of the video when babbar bhaiya is talking? 😁💖😍

  • @sahilrajpal3463
    @sahilrajpal3463 Před 2 lety +2

    what a video all concepts get cleared

  • @0708Sunshine
    @0708Sunshine Před 2 lety +2

    Thank you bhaiya, your efforts are highly appreciated

  • @nikhilbatra3671
    @nikhilbatra3671 Před 7 měsíci

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

  • @yashnarkhedkar3734
    @yashnarkhedkar3734 Před 2 lety +33

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

  • @ankushladani496
    @ankushladani496 Před 2 lety +2

    Swiggy wala example was op!!!

  • @54_jeevankumarchoudhary55

    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.

  • @abhishekrauniyar25
    @abhishekrauniyar25 Před 4 měsíci +1

    Awesome explanation

  • @DeepakKumar-qw7lp
    @DeepakKumar-qw7lp Před 2 lety +4

    Babbar bhaiya op 😁 break up💔
    Present bhaiya ❤️

  • @poojamarmat9920
    @poojamarmat9920 Před 11 hodinami

    Nice session...🙌

  • @newbienate
    @newbienate Před rokem +1

    Great concise playlist. Really useful for non cs peeps

  • @sreenija3703
    @sreenija3703 Před 3 měsíci

    The best 🔥

  • @tejassavpandey7767
    @tejassavpandey7767 Před 8 měsíci

    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.

  • @jericodcosta2049
    @jericodcosta2049 Před 2 lety +4

    Attandance marked OS considered consistent ✅

  • @prateeksingh5719
    @prateeksingh5719 Před 8 měsíci

    The default number of maximum table entries in the process table ranges from 10,000 to 32,000 in windows and 4096 in Linux.

  • @siliconvalley6774
    @siliconvalley6774 Před 11 měsíci +2

    Job Queue - Secondary Memory
    Ready Queue - Primary Memory

  • @adityabhate8652
    @adityabhate8652 Před rokem

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

  • @yashgupta4866
    @yashgupta4866 Před 2 lety +1

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

  • @dipikasrivastava0204
    @dipikasrivastava0204 Před 2 lety +1

    Best explanation

  • @harshjain7945
    @harshjain7945 Před 2 lety +1

    Quality Content!!

  • @adityaojha2701
    @adityaojha2701 Před 2 lety +1

    In Progress.....

  • @bhaveshkumar6842
    @bhaveshkumar6842 Před 2 lety

    Bahot sahi content! ❤

  • @rutvikjadhav1325
    @rutvikjadhav1325 Před rokem +2

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

  • @codesrhodes3757
    @codesrhodes3757 Před 2 lety

    Really loving your efforts 🎉🎉🔥🔥

  • @vedantdeshmukh1549
    @vedantdeshmukh1549 Před 2 lety

    you are a motivation for us bhaiya

  • @anuragbhattacharya2720
    @anuragbhattacharya2720 Před 2 lety +1

    CPU can handelmaximum 2^22 processes.

  • @shantanuhallur6825
    @shantanuhallur6825 Před 2 lety

    Thank you Lakshyay Bhaiiya !!

  • @alokranjan3185
    @alokranjan3185 Před 2 lety

    best os playlist

  • @adityasaini8437
    @adityasaini8437 Před 2 lety

    ultimate bhaiyaa!!

  • @raghavgupta1998
    @raghavgupta1998 Před 2 lety +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 Před 2 lety

    bahot mast video he

  • @sherebanoburhani8939
    @sherebanoburhani8939 Před 2 lety

    Best os course

  • @dipaligangawane980
    @dipaligangawane980 Před 2 lety

    Really very good content.

  • @raghavgupta1998
    @raghavgupta1998 Před 2 lety

    Nice video. Good hanson concept.

  • @rakshitdevra7060
    @rakshitdevra7060 Před 2 lety

    Maza aa raha hai Padhne mai sirji

  • @leeavi2660
    @leeavi2660 Před 2 lety

    awesome teaching

  • @UECAshutoshKumar
    @UECAshutoshKumar Před 2 měsíci +1

    Thank You!!!!

  • @shiwani9146
    @shiwani9146 Před rokem +1

    Lecture 11 completed ✅

  • @coder_21
    @coder_21 Před 3 měsíci

    Best explanation 🫡

  • @bpratikvinod8110
    @bpratikvinod8110 Před 2 lety +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.

  • @Filmytadka1234
    @Filmytadka1234 Před 2 měsíci

  • @vipulchaudhary_js
    @vipulchaudhary_js Před 2 lety

    Take care Love Bhaiya

  • @abdulrazzak2934
    @abdulrazzak2934 Před 2 lety

    maza aagaya bha

  • @moment7206
    @moment7206 Před 11 měsíci

    quality🔥🔥🔥

  • @_rishi_ranjan
    @_rishi_ranjan Před 10 měsíci +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

  • @TechUprise-by-Jyoti
    @TechUprise-by-Jyoti Před 2 lety

    Thank you so much bhaiya 🙃🙃

  • @somesh1934
    @somesh1934 Před 2 lety

    Present Bhaiya

  • @JamesHalpert8555
    @JamesHalpert8555 Před 2 lety +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 Před rokem

      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.

  • @cooldude0321
    @cooldude0321 Před 2 měsíci

    01/07/24 MTS,ZOmbie ,Orphan Process cleared++ Lakshay bhaiyaa

  • @ishashukla5263
    @ishashukla5263 Před 2 lety

    Thank you bhaiya!

  • @devanijay9097
    @devanijay9097 Před rokem

    Thank you sir

  • @tushargarg8622
    @tushargarg8622 Před 2 lety

    majja aa gaya

  • @dipeshjain7497
    @dipeshjain7497 Před 2 lety

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

  • @063himanshumishra4
    @063himanshumishra4 Před 2 lety

    Bhaiya moj kr diii

  • @sounaksaha1455
    @sounaksaha1455 Před 2 lety

    Thanks bhaiya

  • @am_shayantan
    @am_shayantan Před 24 dny

    the way babbar said "break up" 😂😂

  • @prakhargupta8036
    @prakhargupta8036 Před 2 lety +2

    HomeWork :
    approx : 41 lakhs (kernel.pid_max = 4194304)
    Those who are using linux, run the cmd : sysctl kernel.pid_max kernel.threads-max

  • @abdulrazzak2934
    @abdulrazzak2934 Před 2 lety

    accha explain kare

  • @praveentiwari629
    @praveentiwari629 Před 2 lety

    Wonderful Content ;)

  • @sadhanadubey5503
    @sadhanadubey5503 Před 2 lety

    Thank you

  • @VinodKumar-hm6do
    @VinodKumar-hm6do Před 2 lety

    Amazing👍

  • @coderscooby
    @coderscooby Před 2 lety

    Attendance marked sir !

  • @virajchopade552
    @virajchopade552 Před rokem

    18.35 point to be noted

  • @vikasreddyravulapalli5562
    @vikasreddyravulapalli5562 Před 11 měsíci

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

  • @sudipd
    @sudipd Před 2 lety

    Keep uploading vaiya

  • @vishalkumarshaw9208
    @vishalkumarshaw9208 Před 2 lety +2

    Bhaia important linux ke commands ki ek alag se class de do plz

  • @naive-fleek7420
    @naive-fleek7420 Před 24 dny

    was here @11:29 pm finished @ 12:10 am

  • @fazerugbrug439
    @fazerugbrug439 Před 2 lety +1

    nice

  • @sjcreations2490
    @sjcreations2490 Před 2 lety

    nice explanation

  • @jayminpatil6168
    @jayminpatil6168 Před 2 lety

    OP

  • @prashantsaini2290
    @prashantsaini2290 Před 2 lety

    Why parent process (waiting for child's status) did not immediately read the status of child ?? And letting the creation of zombie process ?

  • @bittubabu25
    @bittubabu25 Před rokem +1

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

  • @amchourasia
    @amchourasia Před 2 lety

    Commenting for better reach of the video

  • @tntextreme1965
    @tntextreme1965 Před rokem

    Day 11 Done ✓

  • @anmoldua9755
    @anmoldua9755 Před 2 lety +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 Před 2 lety +1

      Please revise the video, you will find the parent of "sleep 1& " has not exited.

    • @anmoldua9755
      @anmoldua9755 Před 2 lety

      @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 Před 2 lety

      @@lakshaykumar7518 thanku .. I got this part.. I have one more query.. Kindly help to reply.. I added just below it.
      Thanks in advance.

  • @atanmehdi6681
    @atanmehdi6681 Před 2 lety +2

    Hum first hum first😅

  • @AnuMessi10
    @AnuMessi10 Před 2 lety

    💥💥💥

  • @VIKASHKUMAR-mn6cs
    @VIKASHKUMAR-mn6cs Před 2 lety +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 Před rokem

      Number of processes in the ready queue.

  • @rohitrohit5464
    @rohitrohit5464 Před rokem +1

    Day9