Révision 17f78427
Whitespace cleanup
- remove trailing whitespace
- remove empty lines at the end of files
| plugins/disk/e2 | ||
|---|---|---|
| 33 | 33 |
val=`echo ${line#*:}`
|
| 34 | 34 |
val1=${val%% *}
|
| 35 | 35 |
[ -z "$line" ] && break |
| 36 |
|
|
| 36 |
|
|
| 37 | 37 |
case "$key" in |
| 38 | 38 |
"Mount count") myname=$1; mc=$val ;; |
| 39 | 39 |
"Maximum mount count") mmc=$val ;; |
| ... | ... | |
| 90 | 90 |
echo "graph_category disk" |
| 91 | 91 |
args="-l 0" |
| 92 | 92 |
case "$plugin" in |
| 93 |
mounts)
|
|
| 93 |
mounts) |
|
| 94 | 94 |
echo "graph_vlabel times" |
| 95 | 95 |
echo "graph_title Ext2 Filesystem mount details" |
| 96 | 96 |
;; |
| ... | ... | |
| 98 | 98 |
echo "graph_vlabel days" |
| 99 | 99 |
echo "graph_title Ext2 Filesystem fsck interval" |
| 100 | 100 |
;; |
| 101 |
writes)
|
|
| 101 |
writes) |
|
| 102 | 102 |
args="$args --base 1024" |
| 103 | 103 |
echo "graph_vlabel bytes" |
| 104 | 104 |
echo "graph_title Ext2 Filesystem lifetime writes$blkdevAppend" |
| 105 | 105 |
;; |
| 106 | 106 |
esac |
| 107 | 107 |
echo "graph_args $args" |
| 108 |
|
|
| 108 |
|
|
| 109 | 109 |
if [ -z "$blkdev" ]; then |
| 110 | 110 |
lse2 |
| 111 | 111 |
else |
Formats disponibles : Unified diff