Difference between revisions of "LinuxDojo1"
From Fixme.ch
(→Cgroups) |
Ponsfrilus (Talk | contribs) (→Cgroups) |
||
| (5 intermediate revisions by 2 users not shown) | |||
| Line 2: | Line 2: | ||
== Description == | == Description == | ||
* Collaboratively explore Linux topics: Cap, cgroups, ns | * Collaboratively explore Linux topics: Cap, cgroups, ns | ||
| − | * Date: | + | * Date: 28.04.2017 at 20h |
* Framadate: https://framadate.org/QLQn5MAp5519zBRF | * Framadate: https://framadate.org/QLQn5MAp5519zBRF | ||
| + | |||
| + | == Organisation == | ||
| + | |||
| + | * https://c4science.ch/w/epfl-dojo/ | ||
| + | ** [http://codingdojo.org/WhatIsCodingDojo/ WhatIsCodingDojo] | ||
| + | ** [http://codingdojo.org/RandoriKata/ RandoriKata] | ||
== Content == | == Content == | ||
| + | |||
| + | === Projects ideas === | ||
| + | |||
| + | * Script to safely run any executable or file | ||
| + | ** PDF reader | ||
| + | * Script to run an executable and get system metrics after the run (network, memory, cpu). Like time. | ||
=== Namespaces === | === Namespaces === | ||
| Line 18: | Line 30: | ||
=== Cgroups === | === Cgroups === | ||
* https://lwn.net/Articles/604609/ | * https://lwn.net/Articles/604609/ | ||
| − | < | + | <pre> |
unshare --uts | unshare --uts | ||
unshare --ipc | unshare --ipc | ||
| Line 24: | Line 36: | ||
unshare --map-root-user --user | unshare --map-root-user --user | ||
unshare --fork --pid --mount-proc | unshare --fork --pid --mount-proc | ||
| − | </ | + | </pre> |
| + | * [https://www.kernel.org/doc/ols/2007/ols2007v2-pages-45-58.pdf Paul Ménage's cgroups]: Adding Generic Process Containers to the Linux Kernel | ||
== Project leader == | == Project leader == | ||
Latest revision as of 11:25, 25 April 2017
Contents
Description
- Collaboratively explore Linux topics: Cap, cgroups, ns
- Date: 28.04.2017 at 20h
- Framadate: https://framadate.org/QLQn5MAp5519zBRF
Organisation
Content
Projects ideas
- Script to safely run any executable or file
- PDF reader
- Script to run an executable and get system metrics after the run (network, memory, cpu). Like time.
Namespaces
Capabilities
- https://lwn.net/Articles/486306/
-
apt-get install libcap-ng-utils- pscap
Cgroups
unshare --uts unshare --ipc unshare --user unshare --map-root-user --user unshare --fork --pid --mount-proc
- Paul Ménage's cgroups: Adding Generic Process Containers to the Linux Kernel
Project leader
Participants
- You