Browse Source

images

master
zeus 3 years ago
parent
commit
ef08ba2783
  1. 10
      Linux-process-management/Life_cycle_of_a_process.adoc
  2. 0
      images/1-76.png
  3. 0
      images/2-50.png
  4. 0
      images/Multithreaded_process.png
  5. 0
      images/Process_states.png
  6. 0
      images/Simplified_Structure_of_the_Linux_Kernel.png
  7. 0
      images/fork-exec-exit-wait.png
  8. 0
      images/program_in_memory2.png

10
Linux-process-management/Life_cycle_of_a_process.adoc

@ -6,7 +6,7 @@ Apostolos rootApostolos@swarmlab.io
ifndef::env-browser[]
:data-uri:
endif::[]
:images-cdn: http://localhost:3080/asciidoc
:images-cdn: http://localhost:3080/images
:toc: right
:toc-title: Table of contents
:toclevels: 4
@ -24,7 +24,7 @@ endif::[]
[.float-group]
--
.fork-exec footnote:[http://www.it.uu.se/education/course/homepage/os/vt18/images/module-2/fork-exec-exit-wait.png[^]]
image::{images-cdn}/images/fork-exec-exit-wait.png[350,350,role="related thumb right"]
image::{images-cdn}/fork-exec-exit-wait.png[350,350,role="related thumb right"]
*fork()* is the the system call that the parent process uses to "divide" itself ("fork") into two identical processes.
@ -185,7 +185,7 @@ The threads of a process share its executable code and the values of its dynamic
[.float-group]
--
.A process with two threads footnote:[https://commons.wikimedia.org/w/index.php?curid=2233446[^]]
image::{images-cdn}/images/Multithreaded_process.png[350,350,role="related thumb right"]
image::{images-cdn}/Multithreaded_process.png[350,350,role="related thumb right"]
Threads in the same process share:
@ -245,7 +245,7 @@ it's computationally rather expensive to duplicate a process and a lot of subthr
[.float-group]
--
.Process Memory footnote:[https://gabrieletolomei.files.wordpress.com/2013/10/program_in_memory2.png?w=960[^]]
image::{images-cdn}/images/program_in_memory2.png[350,350,role="related thumb right"]
image::{images-cdn}/program_in_memory2.png[350,350,role="related thumb right"]
* Text Segment.
** The Text segment (a.k.a the Instruction segment) contains the executable program code and constant data.
@ -302,7 +302,7 @@ chrt allows to set your scheduling policy as well as priority.
[.float-group]
--
.Structure of the Linux kernel footnote:[By ScotXW - Own work, CC BY-SA 4.0, https://commons.wikimedia.org/w/index.php?curid=47075153[^]]
image::{images-cdn}/images/Simplified_Structure_of_the_Linux_Kernel.png[350,350,role="related thumb right"]
image::{images-cdn}/Simplified_Structure_of_the_Linux_Kernel.png[350,350,role="related thumb right"]
The scheduler is the Linux kernel part that decides which runnable process will be executed by the CPU next.

0
Linux-process-management/images/1-76.png → images/1-76.png

Before

Width:  |  Height:  |  Size: 16 KiB

After

Width:  |  Height:  |  Size: 16 KiB

0
Linux-process-management/images/2-50.png → images/2-50.png

Before

Width:  |  Height:  |  Size: 10 KiB

After

Width:  |  Height:  |  Size: 10 KiB

0
Linux-process-management/images/Multithreaded_process.png → images/Multithreaded_process.png

Before

Width:  |  Height:  |  Size: 24 KiB

After

Width:  |  Height:  |  Size: 24 KiB

0
Linux-process-management/images/Process_states.png → images/Process_states.png

Before

Width:  |  Height:  |  Size: 78 KiB

After

Width:  |  Height:  |  Size: 78 KiB

0
Linux-process-management/images/Simplified_Structure_of_the_Linux_Kernel.png → images/Simplified_Structure_of_the_Linux_Kernel.png

Before

Width:  |  Height:  |  Size: 100 KiB

After

Width:  |  Height:  |  Size: 100 KiB

0
Linux-process-management/images/fork-exec-exit-wait.png → images/fork-exec-exit-wait.png

Before

Width:  |  Height:  |  Size: 37 KiB

After

Width:  |  Height:  |  Size: 37 KiB

0
Linux-process-management/images/program_in_memory2.png → images/program_in_memory2.png

Before

Width:  |  Height:  |  Size: 77 KiB

After

Width:  |  Height:  |  Size: 77 KiB

Loading…
Cancel
Save