Operation on Processes - Process Termination

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

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

  • @pursadas
    @pursadas 3 ปีที่แล้ว +80

    i like how you clarified the sentence "the parents will kill the children" by saying "in terms of processes"

  • @zangruver132
    @zangruver132 4 ปีที่แล้ว +228

    wow. this was pretty dark.
    "Parent might kill its child if it uses too much resources."

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

      fach kadir 3 dl frmajat f terf dlkhbz hh

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

      "Jimmy, Why the hell did you ate ALL THE FRIDGE !! I'M GONNA KILL YOU"

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

      fr tho💀

    • @SamiKhan-sb5ik
      @SamiKhan-sb5ik 10 หลายเดือนก่อน

      A child becomes orphan if parent terminated (without invoking wait() )

  • @AS-ne5wu
    @AS-ne5wu 11 หลายเดือนก่อน +4

    I like the fact that topics that look too complicated and high-leveled turn out to be useful and simple even for beginners.

  • @josephisaac6664
    @josephisaac6664 6 ปีที่แล้ว +20

    best teacher on youtube

  • @arkapravabera3551
    @arkapravabera3551 5 ปีที่แล้ว +62

    5:36 the moment he said : first reason that a parent might kill its children in terms of process 😂 😂 that was hilarious ! Btw . Great Explanation 🙌♥️

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

      yosh

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

    Goodness, half way through this series and you are an absolute life saver. Soo much better than my professor. You're awesome!

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

    Child: misbehaves
    Parent: *die*
    Child: done washing dishes
    Parent: *diE*
    Child: am still hungry
    Parent: *DIE*

  • @vincentrook3183
    @vincentrook3183 3 ปีที่แล้ว +13

    Never thought that a random o.s. topic will hit me personally.

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

      Brooo🤡😂

  • @quratraja7391
    @quratraja7391 4 ปีที่แล้ว +16

    So, when a child process is completed, it informs it's parent by a system call and returns the status. However, apart from normal termination, there might be few other reasons for process termination such as child process has started exceeding the resources being allocated by parent, it's no longer required by parent or the parent process itself has terminated.

  • @kurchak
    @kurchak 3 ปีที่แล้ว +24

    Omg I'm laughing so hard I am literally in tears. All this talk of parents terminating their children once they have "served their purpose and are no longer needed" hahahaha oh I can't. I just can't. It's so funny.

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

      And also if parent terminates then you also have to go

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

    there are some cases, like the child process can run as a Deamon process when the parent process was terminated after it serves. in this special case though the parent task terminated by the OS, but a child process still in alive as a background task.
    Reference book: Mastering Embedded Linux programming 2nd edition by Chris Simmonds. section 12, topic - Deamon
    at 7:37, it is contradicting with a above book explanation.

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

    superb explanation keep it up

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

    Thank god for these videos, you're doing an amazing job!

  • @InspireSphere-Now
    @InspireSphere-Now 4 ปีที่แล้ว +5

    Amazing As Always Neso Academy.♥️♥️♥️♥️♥️
    But Through Out Lecture I Was Imagining .... 😂 You Know... 😂

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

      We all don't know what's really going on inside. Maybe we've to really start programming an OS from Scratch ourselves 🤣🤣

  • @PRABHJOTKAUR-du1jd
    @PRABHJOTKAUR-du1jd 5 ปีที่แล้ว +3

    Clear cut explanation....thanks

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

    A process terminates when the execution of its last statement finishes and asks the OS to delete it via an exit system call.
    It will return its status value (an integer) to its parent via a wait system call. It's necessary for the parent to control the statuses of its children
    All of its resources will be deallocated (memory, I/O buffers, open files...)
    There are other circumstances where a process is terminated:
    - A process can cause the termination of other processes (only the parent can kill its own children) via an appropriate system call
    - User can terminate a process manually
    Reasons why the parent process kills their children:
    - The children process exceed the resources allocated to them (the parent should have mechanism to inspect this info)
    - The task assigned to the children process is no longer required
    - The children processes will be terminated if their parent is terminating (decided by some OS)

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

    Thank you Neso Academy

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

    i lost it at @4:55 to the end of the video 😂 😂😂 😂😂 😂😂 😂😂 😂

  • @MadaraUchiha-fb4ww
    @MadaraUchiha-fb4ww 4 ปีที่แล้ว +87

    glad that my parents didnt watch this, else i would have been terminated lol

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

    very well explained ...

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

    just wow! ❤✨

  • @koppulagouthami2457
    @koppulagouthami2457 4 ปีที่แล้ว

    Explanation is very good.

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

    You are amazing !! please keep going

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

    Ek number 👍

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

    At 5:36, it was getting too dark all of a sudden ... until you said 'in terms of process' 😅

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

    Thank you so much sir

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

    Nyyccccccc explanation ❤️❤️❤️❤️

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

    Thank you

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

    I love these videos :D

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

    gd one as always

  • @vashukumar2688
    @vashukumar2688 7 หลายเดือนก่อน

    Book to refer which is in sync with the lectures - OS by Abraham Silberschatz

  • @NasirAli-ly5io
    @NasirAli-ly5io 4 ปีที่แล้ว

    Thanks ☺️...

  • @dhanushsivajaya1356
    @dhanushsivajaya1356 4 ปีที่แล้ว

    Thankyou sir

  • @proudindian9807
    @proudindian9807 5 ปีที่แล้ว

    Awesome 👍

  • @chandanakotha1048
    @chandanakotha1048 4 ปีที่แล้ว

    Nice sir

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

    Sir can u explain the process preemption and process blocking

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

    the only thing that I find a little difficult is visualizing how these fundamentals are applied when navigating through the operating system, I understand everything that you said but, how I would use these fundamentals, is necessary to solve some sort of problem or something like that?

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

    How can the parent process know if the child has exceeded its resource usage in a single processor environment?

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

    Remembering those days when I use to play video games for 1 hr daily limit 🤣🤣🤣
    Gaming task was allocated for 1hr if exceeds, then rest of history....

  • @shashankadas5227
    @shashankadas5227 6 ปีที่แล้ว +11

    Filicide is predominant in OS. LOL. There should be an OS police to control filicide.

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

      thanks for expanding my vocab

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

    Most of lines (written)used in your video are actually same as written in my university textbook.
    99% same lines😳

    • @15.azamsiddiqui54
      @15.azamsiddiqui54 3 ปีที่แล้ว +1

      what books or any specific resources....

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

    7:56 something is fishy

  • @AliGhazi-us7yl
    @AliGhazi-us7yl ปีที่แล้ว

    Shit turned dark real quick

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

    What’s the drawback of ‘Process Termination’ in deadlock? And in which method of deadlock handling does it belong?

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

    no children were harmed in this video

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

    Can someone please tell me how to create a child in real life also? 🤔 🤔 I also want to create my child😍

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

    *Luckily humans are not operating systems*

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

    r e yaar mummy papa samne batha tha mere, e sunne k bad mummy mere taraf dekhi.............kya padh raha beta????

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

    This can go very out of context

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

    It's cruel.

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

    "Only parent can kill its own children" , it makes sense haha

  • @JustFrogy-ux9od
    @JustFrogy-ux9od 3 ปีที่แล้ว +1

    Wow I wanted to study operating system not return my trauma 🙂 😳

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

    ok

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

    Imagine being born as a child of a process 💀

  • @prachidixit460
    @prachidixit460 6 หลายเดือนก่อน

    Parent can kill the children and no other can kill children parent can kill children for some resources and the resources were give to other children .if parent is terminated then child also terminated simply it says that termination of parent can stop tha loop and perform
    .......is i am right?

  • @MisterRogers9
    @MisterRogers9 4 ปีที่แล้ว

    🤓🤓🤓

  • @indumathidasari3519
    @indumathidasari3519 3 หลายเดือนก่อน

    ❤❤❤😂

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

    "only parents can kill its own children"...🤣🤣🤣

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

    GG