Cgroup-systemd

Aus Xinux Wiki
Zur Navigation springen Zur Suche springen

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