Difference between revisions of "LinuxDojo1"
From Fixme.ch
Ponsfrilus (Talk | contribs) (→Cgroups) |
|||
(8 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
[[Category:Workshops]] | [[Category:Workshops]] | ||
== Description == | == Description == | ||
− | * | + | * Collaboratively explore Linux topics: Cap, cgroups, ns |
− | * Date: | + | * Date: 28.04.2017 at 20h |
− | * Framadate: | + | * 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 --ipc | ||
+ | unshare --user | ||
+ | unshare --map-root-user --user | ||
+ | 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 13:25, 25 April 2017
Contents
[hide]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