Cgroups: Unterschied zwischen den Versionen

Aus Xinux Wiki
Zur Navigation springen Zur Suche springen
 
(7 dazwischenliegende Versionen von 2 Benutzern werden nicht angezeigt)
Zeile 1: Zeile 1:
*Warnung .... Beitrag wurde noch nicht vollkommen getestet ...
+
*[[Was sind cgroups?]]
 
+
*[[cgroups Handling]]
 
 
=Install=
 
*apt-get install cgroup-bin cgroup-lite cgroup-tools cgroupfs-mount libcgroup1
 
=Create=
 
*cat /etc/cgconfig.conf
 
<pre>
 
Ist bei Ubuntu leer
 
</pre>
 
=Kontrolle=
 
*lssubsys -am
 
<pre>
 
cpuset /sys/fs/cgroup/cpuset
 
cpu,cpuacct /sys/fs/cgroup/cpu,cpuacct
 
blkio /sys/fs/cgroup/blkio
 
memory /sys/fs/cgroup/memory
 
devices /sys/fs/cgroup/devices
 
freezer /sys/fs/cgroup/freezer
 
net_cls,net_prio /sys/fs/cgroup/net_cls,net_prio
 
perf_event /sys/fs/cgroup/perf_event
 
hugetlb /sys/fs/cgroup/hugetlb
 
pids /sys/fs/cgroup/pids
 
</pre>
 
*[[cgroups-blkio]]
 
*[[cgroups-cpu]]
 
*[[cgroups-memory]]
 
 
 
=Links=
 
*http://www.geeksforgeeks.org/linux-virtualization-resource-throttling-using-cgroups/
 
*http://www.admin-magazin.de/Das-Heft/2011/06/Cgroups-zur-Ressourcenkontrolle-in-Linux
 
*https://askubuntu.com/questions/836469/install-cgconfig-in-ubuntu-16-04
 
*https://www.devinhoward.ca/technology/2015/feb/implementing-cgroups-ubuntu-or-debian
 
*http://blog.scoutapp.com/articles/2014/11/04/restricting-process-cpu-usage-using-nice-cpulimit-and-cgroups
 
*https://wiki.archlinux.org/index.php/cgroups
 

Aktuelle Version vom 10. Januar 2023, 07:26 Uhr