Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

What is the primary difference between the two? I always see this in the right click menu in windows. What happens if you end a process that is relied upon by another process? Is there a way to "kill" a process tree in linux or is the technology different?

share|improve this question

1 Answer 1

When you start a process, many of them can be used to either call additional instances or separate processes.

enter image description here

These are called child processes, additionally each child can then call child processes (Making the original process a grandparent, and each of these new processes as grand child processes).

If you kill the parent process, it should also kill the children / grandchildren in the tree.

It is possible to call processes and not be officially in the tree though. This is a rough concept.

Also, Linux can kill trees but it is generally not as straight forward as right clicking a process in the activity monitor.

share|improve this answer
    
Regarding killing, you can have orphan processes too. –  Karan Apr 19 '13 at 0:41
    
Yep, I tried not to over complicate it for the sake of the answer... Although its a good point. –  AthomSfere Apr 19 '13 at 0:49
    
will "If you kill the parent process, it should also kill the children / grandchildren in the tree." require "end process" or "end process tree?" Also how is this done in linux? –  agz Apr 19 '13 at 20:36

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.