1
0

feat(lab04): finish report

This commit is contained in:
2026-05-27 20:46:12 +02:00
parent 9a09f6cba6
commit cb254f4d47
2 changed files with 26 additions and 1 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 31 KiB

View File

@@ -70,8 +70,33 @@ if (ret == -1) {
exit(EXIT_FAILURE);
}
```
// TODO result of
This can be verified by executing the program and observed in the `htop` tool.
```bash
$ ./multiprocessing
Child processus: pid=273
Parent processus: pid=274
Message 0: Hallo, hallo !
Message 1: ça geht !
Message 2: Comment vont les olives ?
Message 3: Sacré trucs tes trucs là.
Message 4: Ta où les vaches !!!!!
SIGHUP received
SIGQUIT received
SIGTERM received
SIGABRT received
SIGINT received
```
#figure(
image("control_cpu_process_ex_1.png"),
caption: [Execution of the program multiprocessus]
)<multiprocessus>
The @multiprocessus shows the PID and the core of the processus and they can be compared to the output of the executable before.
The child processus has the PID 273 and the core 0. The parent processus has th PID 274 and the core 1.
== CGroups