1
0
Fork 0
mirror of https://github.com/munin-monitoring/contrib.git synced 2025-07-24 09:57:09 +00:00

Merge pull request #681 from benpro/master

Support for Debian Jessie.
This commit is contained in:
Stig Sandbeck Mathisen 2015-12-27 16:06:40 +01:00
commit 6fe1fcbc69
4 changed files with 4 additions and 4 deletions

View file

@ -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):

View file

@ -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__":

View file

@ -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__":

View file

@ -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():