admin_grundlagen:systemd-resourcenkontrolle
Unterschiede
Hier werden die Unterschiede zwischen zwei Versionen der Seite angezeigt.
| Beide Seiten, vorherige ÜberarbeitungVorherige ÜberarbeitungNächste Überarbeitung | Vorherige Überarbeitung | ||
| admin_grundlagen:systemd-resourcenkontrolle [2016/03/15 14:04] – [Unit Parameter aendern] stefan_miethke | admin_grundlagen:systemd-resourcenkontrolle [2022/05/25 07:26] (aktuell) – [Unit Parameter aendern] sh | ||
|---|---|---|---|
| Zeile 7: | Zeile 7: | ||
| ==== CG Baum anzeigen ==== | ==== CG Baum anzeigen ==== | ||
| + | # systemd-cgls | ||
| + | # systemd-cgtop | ||
| - | < | ||
| - | # systemd-cgls | ||
| - | # systemd-cgtop | ||
| - | |||
| - | </ | ||
| ==== Slices anzeigen ==== | ==== Slices anzeigen ==== | ||
| + | # systemctl -t slice | ||
| - | < | ||
| - | # systemctl -t slice | ||
| - | |||
| - | </ | ||
| ==== Resource Controller ==== | ==== Resource Controller ==== | ||
| Zeile 30: | Zeile 24: | ||
| * freezer — suspends or resumes tasks in a cgroup; | * freezer — suspends or resumes tasks in a cgroup; | ||
| * memory — sets limits on memory use by tasks in a cgroup, and generates automatic reports on memory resources used by those tasks; | * memory — sets limits on memory use by tasks in a cgroup, and generates automatic reports on memory resources used by those tasks; | ||
| - | * net< | + | * net_cls |
| - | * perf< | + | * perf_event |
| * hugetlb — allows to use virtual memory pages of large sizes, and to enforce resource limits on these pages. | * hugetlb — allows to use virtual memory pages of large sizes, and to enforce resource limits on these pages. | ||
| Zeile 44: | Zeile 38: | ||
| ^Parameter | ^Parameter | ||
| |CPUAccounting=true | |CPUAccounting=true | ||
| - | |CPUShares=value | + | |CPUWeight=value |
| |MemoryAccounting=true | |MemoryAccounting=true | ||
| |MemoryLimit=value | |MemoryLimit=value | ||
| |BlockIOAccounting=true | |BlockIOAccounting=true | ||
| - | |BlockIOWeight=value | + | |BlockIOWeight=value |
| - | |BlockIODeviceWeight=device< | + | |BlockIODeviceWeight=device_name |
| - | |BlockIOReadBandwidth=device< | + | |BlockIOReadBandwidth=device_name |
| - | |BlockIOWriteBandwidth=device< | + | |BlockIOWriteBandwidth=device_name |
| - | |DeviceAllow=device< | + | |DeviceAllow=device_name |
| |DevicePolicy=value | |DevicePolicy=value | ||
| - | |Slice=slice< | + | |Slice=slice_name |
| |ControlGroupAttribute=attribute value |-- | |ControlGroupAttribute=attribute value |-- | ||
| - | + | *Weight*: default=100. [10-10000]. 100 ist "die Mitte" | |
| - | + | ||
| - | + | ||
admin_grundlagen/systemd-resourcenkontrolle.1458050681.txt.gz · Zuletzt geändert: 2016/03/15 14:04 von stefan_miethke
