Fixed one instance of grep being used without an absolute path

This commit is contained in:
Matthew Connelly 2015-02-20 19:26:45 +00:00
parent 031406e82b
commit 707a21c97c
1 changed files with 1 additions and 1 deletions

View File

@ -32,7 +32,7 @@ freeswap.max 0"
exit 0
fi
echo "used.value `/usr/bin/free|grep '^Mem:'|/usr/bin/awk '{print $3'}`
echo "used.value `/usr/bin/free|/bin/grep '^Mem:'|/usr/bin/awk '{print $3'}`
cache.value `/bin/grep '^Cached:' /proc/meminfo|/usr/bin/awk '{print $2}'`
buff.value `/usr/bin/free|/bin/grep '^Mem:'|/usr/bin/awk '{print $6}'`
shared.value `/usr/bin/free|/bin/grep '^Mem:'|/usr/bin/awk '{print $5}'`