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:
parent
561da1a3f1
commit
8713eb3722
162 changed files with 248 additions and 248 deletions
|
@ -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]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue