Linux Internals - Process Management

Поділитися
Вставка
  • Опубліковано 11 вер 2024

КОМЕНТАРІ • 56

  • @diegonayalazo
    @diegonayalazo 3 роки тому +5

    Thanks DJ for sharing your knowledge in such a digestible way. You are an inspiration! Keep up the good work

  • @rotrose7531
    @rotrose7531 3 роки тому +2

    These knowledge are the very thing I am hunger for as a sys admin. Please continue to share these deep talk of Linux.

  • @KipIngram
    @KipIngram Рік тому +1

    This was a good one. I've been working through these for continuing education at work. Some of them are a little boring, just because I already know parts of all this (so that's no criticism - they'd be great for someone not familiar), but this one was on some details I hadn't delved into before. So thanks for a very clear presentation and keep up the great work! Stay safe!

  • @dimitardanov
    @dimitardanov 4 роки тому +7

    Thank you for the series. Much appreciated.

  • @cleightthejw2202
    @cleightthejw2202 Рік тому

    @DJ This is good stuff. I don't know how old these videos are but this is definitely more the 'education' stuff for guys like myself.

  • @waliabbas
    @waliabbas 3 роки тому +1

    Thank you, your clear explanation has given me peace.

  • @1over137
    @1over137 2 роки тому +1

    The freaky thing (annoying) about zombies is that they don't or can't trap signals anymore. You find a defunct a.out because your program locked up somewhere, but you can't kill -9 it as it's already marked defunct. It gets even more freaky when the process you were trying to evict was a hung "mount" command, say due to a hung NFS mount point. You get fed up and kill the mount process, but you can't kill it as it's blocked in kernel space, the process disappears, you get your shell back, but the mount command stays as a defunct zombie for a while. Hung NFS mounts are evil.

  • @chandrakumar8371
    @chandrakumar8371 2 роки тому +1

    Thank you for such a wonderful explanation..

  • @ajaynair3366
    @ajaynair3366 3 роки тому +1

    I have an interview tomorrow and this is very helpful!

    • @CyberGizmo
      @CyberGizmo  3 роки тому

      Good Luck with the interview

  • @swatiruhela655
    @swatiruhela655 2 роки тому +1

    Sir thank you very much for this series. Very nice content . Very informative ..Appreciate

  • @emcpadden
    @emcpadden 2 роки тому +1

    Another great explanation, thank you!

  • @GrooveMotionArena
    @GrooveMotionArena 3 роки тому

    I am very much happy with the video...Thanks DJ Ware

  • @celinaamados
    @celinaamados Рік тому +1

    These videos are awesome! Helping me refresh concepts and prepare for interviews. Do you have a link to these slides?

  • @Adiusza
    @Adiusza Рік тому

    Great video

  • @emvdl
    @emvdl 4 роки тому

    Thanks, these in depth videos are so great! 👍 Didn’t know the word: “Zombie-Walk”, now I do 😀🖖

  • @AmIRealYouTube
    @AmIRealYouTube 4 місяці тому

    Very informative. Thank you!

  • @franklemanschik_de
    @franklemanschik_de Рік тому

    Nice introduction Tasks relativ scheduled are the best processes

  • @user-mr3mf8lo7y
    @user-mr3mf8lo7y Рік тому

    Much obliged.

  • @trinadadtobago7064
    @trinadadtobago7064 Рік тому

    At 2.20ish you mentioned that each process will have a pid and this will be a number generated by the system. this number has a limit and then it will be recycled back through the numbers. can you please tell me what is that number (the limit) and also doco relating to that? Thank you.
    Your content is excellent, please keep going esp with Internals... :)

  • @abdallahrashed1947
    @abdallahrashed1947 3 роки тому +1

    I was waiting to understand the difference between threads and processes, wish you talk about it

    • @CyberGizmo
      @CyberGizmo  3 роки тому +4

      I see from the poll so far people want more on the internals so will put together a few more videos and will had you request to the list Abadallah.

    • @alexanderalejandre241
      @alexanderalejandre241 3 роки тому +1

      @@CyberGizmo The internals are fascinating from your PoV

  • @77jaykb
    @77jaykb Рік тому +1

    I think the zombie process definition is not accurate. When a parent dies, its just a running orphan process which will be adopted by init. Zombie is when the child is already dead but it continues to use reasources - and the parent doesnt/canot do anything about it.

  • @icewreck
    @icewreck 2 роки тому +1

    Awesome tutorials. Can you send a link to the slides ?

  • @subee128
    @subee128 7 місяців тому

    Thanks

  • @rashie
    @rashie Рік тому

    👍👍- Gracias, senor!

  • @RobinSingh-md1sh
    @RobinSingh-md1sh 3 роки тому +2

    Thanks for the video. However I believe your description of zombie process is wrong and you actually described an orphaned process. What are your thoughts?

    • @CyberGizmo
      @CyberGizmo  3 роки тому +1

      So first, all processes are spawned via a fork call. The "official" UNIX definition is the one I use, even for Linux is: A process which has finished the execution but still has entry in the process table to report to its parent process is known as a zombie process. A child process always first becomes a zombie before being removed from the process table. The parent process reads the exit status of the child process which reaps off the child process entry from the process table.

    • @RobinSingh-md1sh
      @RobinSingh-md1sh 3 роки тому

      @@CyberGizmo thanks for the super prompt reply. Appreciate it. And yes this definition sounds right.

  • @cleightthejw2202
    @cleightthejw2202 Рік тому

    comment 2
    @DJ
    Do you think you could do a video or so on how a protocol works with its functions on 2 machines(which is ultimately expanded beyond that)? Like when IP sends out to another device- what is the other side wating for or how does it know what to send back like which functions to use? Does that make sense?
    Or if you are familiar with BGP (and I'm sure you are) how would that work on a 'smile level' (even overly simplified)?
    Are those functions packed in the same 'while'/'for' loop or are they separate? How does the other device know which function to use to address what it is receiving and then send out (if necessary) and visa-versa? So basically 'how are they 'talking' to each other with knoledge of what they are saying/expecting?
    DJ, I was saying this for video stuff- not to have you literally writing it all here. I'm sure that would take a while to do
    Thank you

  • @M0rn1n6St4r
    @M0rn1n6St4r 3 роки тому +1

    What happened to Part 1? After noticing that "Linux Internals - SysCalls" was the first in a _series_ of videos, I decided I would make a playlist to "binge-watch" later. I finally stopped procrastinating... creating the playlist, now. I recall seeing "...Part 1: Process Management" prior to today, but I cannot find it.

    • @CyberGizmo
      @CyberGizmo  3 роки тому +2

      I bet you were looking for the video at the same time I was creating a playlist for them, the play list is called Linux Internals and should have all of them in there. Cheers

    • @M0rn1n6St4r
      @M0rn1n6St4r 3 роки тому

      @@CyberGizmo: If only you had acted sooner. I've already created my own playlist. My procrastination could have yielded the pleasant surprise: someone else already took care of this. :-)

    • @M0rn1n6St4r
      @M0rn1n6St4r 3 роки тому +1

      @@CyberGizmo: Uhh... it is absent from your playlist, too. I cannot find it by searching your channel. Perhaps you changed the privacy setting on that video?

    • @CyberGizmo
      @CyberGizmo  3 роки тому +1

      I see it marked public look for Process Management

    • @CyberGizmo
      @CyberGizmo  3 роки тому

      Try this ua-cam.com/video/Ip9P1XJt5PI/v-deo.html

  • @enufots4621
    @enufots4621 3 роки тому +1

    Out of the 8 modules, which one should I start with and in what order?

    • @CyberGizmo
      @CyberGizmo  3 роки тому

      They are all independent wanted to put them together so each one stood alone.

  • @anonymous.youtuber
    @anonymous.youtuber 6 місяців тому +1

    Hehe somehow you look some 20 years younger. The guru look was also ok though. 😉

  • @tamos2006
    @tamos2006 2 роки тому

    gold

  • @harikrishnan2698
    @harikrishnan2698 3 роки тому +1

    25:03 , isn't it orphan process ?
    en.wikipedia.org/wiki/Orphan_process

    • @CyberGizmo
      @CyberGizmo  3 роки тому +2

      You are quite correct, Hari and thanks for catching that.

  • @lunaeclipse5768
    @lunaeclipse5768 2 роки тому

    im on my way on backend, am i doing right being ended up here?

    • @CyberGizmo
      @CyberGizmo  2 роки тому

      You're fine, I tried to put these together so you didnt have to do them in a particular order

  • @lunaeclipse5768
    @lunaeclipse5768 2 роки тому

    who thought that process management was BPM (bussiness process management)?

    • @CyberGizmo
      @CyberGizmo  2 роки тому

      Can you just image an BPM expert writing OS code omg

    • @lunaeclipse5768
      @lunaeclipse5768 2 роки тому

      @@CyberGizmo hahaha i forgot the OS part, when researching

  • @lunaeclipse5768
    @lunaeclipse5768 2 роки тому

    sir why u dont have any beard like long beard, thanks btw

    • @CyberGizmo
      @CyberGizmo  2 роки тому

      hahah shaved it off long ago :)