From 57d3bfe478abafeb248b13f93873117b92a7464b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?H=C3=A9ctor=20Arroyo?= Date: Thu, 22 May 2014 01:11:40 +0200 Subject: [PATCH] Remove script output to stdout --- gmetric_xfs.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gmetric_xfs.sh b/gmetric_xfs.sh index 846bdec..68ef181 100644 --- a/gmetric_xfs.sh +++ b/gmetric_xfs.sh @@ -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