Projet

Général

Profil

Révision 784b06fe

ID784b06fe75e3bb34e190d56956f3cc50b37e1da8
Parent 4e321bbc
Enfant c0fe6dc3

Ajouté par Marc SCHAEFER il y a plus de 6 ans

Sections and small fix

Voir les différences:

plugins/lxc/lxc-multigraph
82 82

  
83 83
lxcpath=${lxcpath:-/var/lib/lxc}
84 84

  
85
# --- FUNCTIONS
86

  
85 87
function active_guests {
86 88
   local g active i ok
87 89
   for g in $(lxc-ls | sort -u)
......
161 163
    return 0
162 164
}
163 165

  
166
# --- BASIC DEFINES
167

  
164 168
active_guests=$(active_guests $exclude)
165 169

  
170
# --- AUTOCONF
171

  
166 172
if [ "$1" = "autoconf" ]; then
167 173
   if [ ! -r /proc/net/dev ]; then
168 174
      echo "no (/proc/net/dev cannot be read)"
......
357 363
echo "multigraph lxc_proc"
358 364
for n in $active_guests
359 365
do
360
   count_processes "$n"
366
   lxc_count_processes "$n"
361 367
   tmp=$?
362 368
   if [ $tmp -eq 0 ]; then
363 369
     tmp=$(lxc_cgroup -n "$n" tasks | wc -l)

Formats disponibles : Unified diff