Commit 5b967237 authored by Bernd Zeimetz's avatar Bernd Zeimetz

Fix ksmtuned for debian

parent a725a4b0
......@@ -70,7 +70,7 @@ KSMCTL () {
committed_memory () {
local pidlist
pidlist=$(pgrep -d ' ' -- '^qemu(-kvm|:.{1,11})$')
pidlist=$(pgrep -f -d ' ' '^qemu-system.*-enable-kvm')
if [ -n "$pidlist" ]; then
ps -p "$pidlist" -o rsz=
fi | awk '{ sum += $1 }; END { print 0+sum }'
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment