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) (→SSH) |
||
| Zeile 7: | Zeile 7: | ||
*systemctl daemon-reload | *systemctl daemon-reload | ||
*systemctl restart ssh | *systemctl restart ssh | ||
| + | *systemctl show -p MemoryAccounting ssh | ||
| + | MemoryAccounting=yes | ||
=Links= | =Links= | ||
*https://www.certdepot.net/rhel7-get-started-cgroups/ | *https://www.certdepot.net/rhel7-get-started-cgroups/ | ||
Version vom 16. Oktober 2017, 17:17 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