Projet

Général

Profil

Révision 17f78427

ID17f784270ae966ee9a13e9f5104a5b8f925b639e
Parent ef851f0c
Enfant d4320aea, 5b2396a9

Ajouté par Lars Kruse il y a plus de 7 ans

Whitespace cleanup

  • remove trailing whitespace
  • remove empty lines at the end of files

Voir les différences:

plugins/cpu/multicpu1sec
17 17
style="AREA"
18 18
cpus=$(grep -c ^processor /proc/cpuinfo)
19 19

  
20
run_watchdog()  {                 # should also trap kill and term signals 
20
run_watchdog()  {                 # should also trap kill and term signals
21 21
   kill -0 $(cat $pidfile) 2> /dev/null || rm -f $pidfile
22 22
}
23 23

  
......
33 33
   run_watchdog
34 34
   if [ -f $pidfile ]; then
35 35
      touch $pidfile
36
   else   
36
   else
37 37
      $pluginfull acquire &
38 38
   fi
39 39
}
......
54 54
graph_category 1sec
55 55
graph_vlabel average cpu use %
56 56
graph_scale no
57
graph_total All CPUs 
57
graph_total All CPUs
58 58
update_rate 1
59
graph_data_size custom 1d, 10s for 1w, 1m for 1t, 5m for 1y 
59
graph_data_size custom 1d, 10s for 1w, 1m for 1t, 5m for 1y
60 60
EOF
61 61
cpun=0
62 62
for ((i=0; i<$cpus; i++)); do

Formats disponibles : Unified diff