Cgroup-systemd: Unterschied zwischen den Versionen

Aus Xinux Wiki
Zur Navigation springen Zur Suche springen
Thomas (Diskussion | Beiträge)
Thomas (Diskussion | Beiträge)
Zeile 10: Zeile 10:
  MemoryAccounting=yes
  MemoryAccounting=yes


*systemd-cgtop
=Links=
=Links=
*https://www.certdepot.net/rhel7-get-started-cgroups/
*https://www.certdepot.net/rhel7-get-started-cgroups/

Version vom 16. Oktober 2017, 17:21 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

Links