Skip to content

Commit

Permalink
Remove script output to stdout
Browse files Browse the repository at this point in the history
  • Loading branch information
hectoras committed May 21, 2014
1 parent 5a825c0 commit 57d3bfe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gmetric_xfs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ for dev in `awk '$3=="xfs" { print $1 }' /proc/mounts`
do
FRAG=$(xfs_db -r -c frag $dev | awk '{print $8}' | cut -f1 -d"." | sed 's/,/\./' | sed 's/%//' )
dev=`basename $dev`
echo "${dev}_frag: $FRAG"
// echo "${dev}_frag: $FRAG"
$GMETRIC --type=float --name="${dev}_frag" --units="%" --value="${FRAG}" --group="fragmentation"
done

0 comments on commit 57d3bfe

Please sign in to comment.