1
0
Fork 0
mirror of https://github.com/munin-monitoring/contrib.git synced 2025-07-21 18:41:03 +00:00

Fix spelling mistakes in comments and descriptions

Thanks, codespell!
This commit is contained in:
Lars Kruse 2020-03-26 02:12:57 +01:00
parent 561da1a3f1
commit 8713eb3722
162 changed files with 248 additions and 248 deletions

View file

@ -63,7 +63,7 @@ def detect_kvm():
def find_vm_names(pids):
'''Find and clean vm names from pids
@return a dictionnary of {pids : cleaned vm name}
@return a dictionary of {pids : cleaned vm name}
'''
result = {}
for pid in pids:
@ -80,7 +80,7 @@ def list_pids():
def fetch(vms):
''' Fetch values for a list of pids
@param dictionnary {kvm_pid: cleaned vm name}
@param dictionary {kvm_pid: cleaned vm name}
'''
for ( pid, name ) in vms.iteritems():
( user, system ) = open("/proc/%s/stat" % pid, 'r').readline().split(' ')[13:15]