/lib/systemd/system/ksm.service is in ksmtuned 4.20150325build1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 | [Unit]
Description=Kernel Samepage Merging
ConditionPathExists=/sys/kernel/mm/ksm
[Service]
Type=oneshot
RemainAfterExit=yes
EnvironmentFile=-/etc/default/ksm
ExecStart=/usr/sbin/ksmctl start
ExecStop=/usr/sbin/ksmctl stop
[Install]
WantedBy=multi-user.target
|