Cgroup-systemd: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
Thomas (Diskussion | Beiträge) (Die Seite wurde neu angelegt: „=Memory Kontrolle= ==SSH== *mkdir /etc/systemd/system/ssh.service.d/ * cat /etc/systemd/system/ssh.service.d/accounting.conf [Service] MemoryAccounting=true…“) |
Thomas (Diskussion | Beiträge) (→Links) |
||
| (2 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt) | |||
| Zeile 7: | Zeile 7: | ||
*systemctl daemon-reload | *systemctl daemon-reload | ||
*systemctl restart ssh | *systemctl restart ssh | ||
| + | *systemctl show -p MemoryAccounting ssh | ||
| + | MemoryAccounting=yes | ||
| + | *systemd-cgtop | ||
=Links= | =Links= | ||
*https://www.certdepot.net/rhel7-get-started-cgroups/ | *https://www.certdepot.net/rhel7-get-started-cgroups/ | ||
| + | *http://0pointer.de/blog/projects/resources.html | ||
Aktuelle Version vom 16. Oktober 2017, 18:53 Uhr
Memory Kontrolle
SSH
- mkdir /etc/systemd/system/ssh.service.d/
- cat /etc/systemd/system/ssh.service.d/accounting.conf
[Service] MemoryAccounting=true
- systemctl daemon-reload
- systemctl restart ssh
- systemctl show -p MemoryAccounting ssh
MemoryAccounting=yes
- systemd-cgtop