diff --git a/plugins/virtualization/kvm_cpu b/plugins/virtualization/kvm_cpu index 2088b093..d8ec7934 100755 --- a/plugins/virtualization/kvm_cpu +++ b/plugins/virtualization/kvm_cpu @@ -75,7 +75,7 @@ def list_pids(): ''' Find the pid of kvm processes @return a list of pids from running kvm ''' - pid = Popen("pidof kvm", shell=True, stdout=PIPE) + pid = Popen("pidof qemu-system-x86_64", shell=True, stdout=PIPE) return pid.communicate()[0].split() def fetch(vms): diff --git a/plugins/virtualization/kvm_io b/plugins/virtualization/kvm_io index 8051692f..065f1a19 100755 --- a/plugins/virtualization/kvm_io +++ b/plugins/virtualization/kvm_io @@ -92,7 +92,7 @@ def list_pids(): ''' Find the pid of kvm processes @return a list of pids from running kvm ''' - pid = Popen("pidof kvm", shell=True, stdout=PIPE) + pid = Popen("pidof qemu-system-x86_64", shell=True, stdout=PIPE) return pid.communicate()[0].split() if __name__ == "__main__": diff --git a/plugins/virtualization/kvm_mem b/plugins/virtualization/kvm_mem index 2a93aaa6..66e7f399 100755 --- a/plugins/virtualization/kvm_mem +++ b/plugins/virtualization/kvm_mem @@ -89,7 +89,7 @@ def list_pids(): ''' Find the pid of kvm processes @return a list of pids from running kvm ''' - pid = Popen("pidof kvm", shell=True, stdout=PIPE) + pid = Popen("pidof qemu-system-x86_64", shell=True, stdout=PIPE) return pid.communicate()[0].split() if __name__ == "__main__": diff --git a/plugins/virtualization/kvm_net b/plugins/virtualization/kvm_net index ad34e217..dfe2cd79 100755 --- a/plugins/virtualization/kvm_net +++ b/plugins/virtualization/kvm_net @@ -100,7 +100,7 @@ def list_pids(): ''' Find the pid of kvm processes @return a list of pids from running kvm ''' - pid = Popen("pidof kvm", shell=True, stdout=PIPE) + pid = Popen("pidof qemu-system-x86_64", shell=True, stdout=PIPE) return pid.communicate()[0].split() def find_vms_tap():