Révision 9fd750df
zfs-filesystem-graph: remove --upper-limit
Providing a --upper-limit parameter is only useful if the size of the
filesystem never changes. On ZFS, this assumption is only true for the
zpool; for all other filesystems, the available space is shared, and the
totalled values will vary. When this is the case, the --upper-limit
parameter will obscure peaks in the graph.
| plugins/zfs/zfs-filesystem-graph | ||
|---|---|---|
| 39 | 39 |
|
| 40 | 40 |
echo <<EOF "graph_title zfs $myname |
| 41 | 41 |
graph_order usedbydataset usedbychildren usedbysnapshots usedbyrefreservation available total quota |
| 42 |
graph_args --base 1024 -r -l 0 --vertical-label Bytes --upper-limit ${values[6]}
|
|
| 42 |
graph_args --base 1024 -r -l 0 --vertical-label Bytes |
|
| 43 | 43 |
graph_info This graph shows how is used a zfs filesystems. |
| 44 | 44 |
graph_category filesystem |
| 45 | 45 |
graph_period second |
Formats disponibles : Unified diff