mirror of
https://github.com/munin-monitoring/contrib.git
synced 2025-07-22 14:16:00 +00:00
Support for Debian Jessie.
This commit is contained in:
parent
08479bda7c
commit
70b61f1621
4 changed files with 4 additions and 4 deletions
|
@ -75,7 +75,7 @@ def list_pids():
|
||||||
''' Find the pid of kvm processes
|
''' Find the pid of kvm processes
|
||||||
@return a list of pids from running kvm
|
@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()
|
return pid.communicate()[0].split()
|
||||||
|
|
||||||
def fetch(vms):
|
def fetch(vms):
|
||||||
|
|
|
@ -92,7 +92,7 @@ def list_pids():
|
||||||
''' Find the pid of kvm processes
|
''' Find the pid of kvm processes
|
||||||
@return a list of pids from running kvm
|
@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()
|
return pid.communicate()[0].split()
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
|
|
|
@ -89,7 +89,7 @@ def list_pids():
|
||||||
''' Find the pid of kvm processes
|
''' Find the pid of kvm processes
|
||||||
@return a list of pids from running kvm
|
@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()
|
return pid.communicate()[0].split()
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
|
|
|
@ -100,7 +100,7 @@ def list_pids():
|
||||||
''' Find the pid of kvm processes
|
''' Find the pid of kvm processes
|
||||||
@return a list of pids from running kvm
|
@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()
|
return pid.communicate()[0].split()
|
||||||
|
|
||||||
def find_vms_tap():
|
def find_vms_tap():
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue