Révision c35eee02
indentation fix
added same indentation of the echo as all the rest in the for loop
| plugins/zfs/zfs_list | ||
|---|---|---|
| 79 | 79 |
values=( $(zfs get -p usedbydataset,usedbychildren,usedbysnapshots,usedbyrefreservation,available,quota $i | awk 'BEGIN {total=0;} { if( NR==1 ) next; } !/quota/ {total=total+$3;} {print $3} END{print total;}') )
|
| 80 | 80 |
fsname=$(clean_fieldname $(echo "$i" | sed 's/\//__/g')) |
| 81 | 81 |
|
| 82 |
echo <<EOF "multigraph zfs_list_$fsname |
|
| 82 |
echo <<EOF "multigraph zfs_list_$fsname
|
|
| 83 | 83 |
usedbydataset.value ${values[0]}
|
| 84 | 84 |
usedbysnapshots.value ${values[2]}
|
| 85 | 85 |
usedbychildren.value ${values[1]}
|
Formats disponibles : Unified diff