From ef08ba27836dc04c2c313cf161e90719400a2ca8 Mon Sep 17 00:00:00 2001 From: zeus Date: Sun, 21 Feb 2021 23:12:02 +0200 Subject: [PATCH] images --- .../Life_cycle_of_a_process.adoc | 10 +++++----- .../images => images}/1-76.png | Bin .../images => images}/2-50.png | Bin .../images => images}/Multithreaded_process.png | Bin .../images => images}/Process_states.png | Bin .../Simplified_Structure_of_the_Linux_Kernel.png | Bin .../images => images}/fork-exec-exit-wait.png | Bin .../images => images}/program_in_memory2.png | Bin 8 files changed, 5 insertions(+), 5 deletions(-) rename {Linux-process-management/images => images}/1-76.png (100%) rename {Linux-process-management/images => images}/2-50.png (100%) rename {Linux-process-management/images => images}/Multithreaded_process.png (100%) rename {Linux-process-management/images => images}/Process_states.png (100%) rename {Linux-process-management/images => images}/Simplified_Structure_of_the_Linux_Kernel.png (100%) rename {Linux-process-management/images => images}/fork-exec-exit-wait.png (100%) rename {Linux-process-management/images => images}/program_in_memory2.png (100%) diff --git a/Linux-process-management/Life_cycle_of_a_process.adoc b/Linux-process-management/Life_cycle_of_a_process.adoc index 12403df..af2aa19 100644 --- a/Linux-process-management/Life_cycle_of_a_process.adoc +++ b/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. diff --git a/Linux-process-management/images/1-76.png b/images/1-76.png similarity index 100% rename from Linux-process-management/images/1-76.png rename to images/1-76.png diff --git a/Linux-process-management/images/2-50.png b/images/2-50.png similarity index 100% rename from Linux-process-management/images/2-50.png rename to images/2-50.png diff --git a/Linux-process-management/images/Multithreaded_process.png b/images/Multithreaded_process.png similarity index 100% rename from Linux-process-management/images/Multithreaded_process.png rename to images/Multithreaded_process.png diff --git a/Linux-process-management/images/Process_states.png b/images/Process_states.png similarity index 100% rename from Linux-process-management/images/Process_states.png rename to images/Process_states.png diff --git a/Linux-process-management/images/Simplified_Structure_of_the_Linux_Kernel.png b/images/Simplified_Structure_of_the_Linux_Kernel.png similarity index 100% rename from Linux-process-management/images/Simplified_Structure_of_the_Linux_Kernel.png rename to images/Simplified_Structure_of_the_Linux_Kernel.png diff --git a/Linux-process-management/images/fork-exec-exit-wait.png b/images/fork-exec-exit-wait.png similarity index 100% rename from Linux-process-management/images/fork-exec-exit-wait.png rename to images/fork-exec-exit-wait.png diff --git a/Linux-process-management/images/program_in_memory2.png b/images/program_in_memory2.png similarity index 100% rename from Linux-process-management/images/program_in_memory2.png rename to images/program_in_memory2.png